home *** CD-ROM | disk | FTP | other *** search
/ HamCall (April 1991) / HAMCALL CD-ROM (Buckmaster)(April 1991).BIN / telcom / qmodem / qmdoc.40 / QMDOC.TXT
Text File  |  1989-02-27  |  607KB  |  17,061 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.                                               Qmodem Operations Manual
  25. ______________________________________________________________________
  26.  
  27.                                                            Version 4.0
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34. Preface
  35. ______________________________________________________________________
  36. This document was revised for Qmodem 4.0.
  37.  
  38. Qmodemσ software copyright π 1989 The Forbin Project, Inc.  All rights
  39. reserved.
  40.  
  41. This document  copyright π  1989 The  Forbin Project, Inc.  All rights
  42. reserved.
  43.  
  44. Qmodem is a Trademark of The Forbin Project, Inc.
  45.  
  46. Any  specific  hardware/software  names  used  in  this  document  are
  47. trademarks of specific manufacturers.
  48.                                    
  49.  
  50.  
  51.  
  52.  
  53.  
  54. How to Contact The Forbin Project
  55. ______________________________________________________________________
  56. The best  way to  get hold  of us,  is to log on to the Forbin Project
  57. BBS.   We have  6 nodes  running the  PCBoard BBS software; 24 hours a
  58. day, 7  days a  week.   From the  "Main Menu  Command" prompt, use the
  59. (C)omment command.  Turn-around time for answering BBS mail is usually
  60. within 24 hours.  USPS mail responses are considerably longer.
  61.  
  62. The BBS has two different numbers you can call:
  63.  
  64.      (319) 233-6157      1200/2400/9600/19200
  65.                          5 nodes with Courier HST modems.
  66.  
  67.      (319) 233-6006      1200/2400/9600/19200
  68.                          1 node with Hayes V9600 modem.
  69.  
  70. Set Qmodem up for 8 data bits, No Parity and 1 stop bit.
  71.  
  72. We also  run a Qmodem Support Roundtable on the General Electric GEnie
  73. system.  Type "QMODEM" at any menu prompt to get to us.
  74.  
  75.  
  76. If you  prefer, you  can write us a letter with your comments and send
  77. it to:
  78.                                    
  79.                      Technical Support Department
  80.                        The Forbin Project, Inc.
  81.                          Post Office Box 702
  82.                      Cedar Falls, IA  50613, USA
  83.  
  84. Telephone technical support is available to registered user by dialing
  85. (319) 232-4516.   Please  have the  following information handy before
  86. you call:
  87.  
  88.      o    Version of Qmodem you have
  89.      o    Computer make and model number
  90.      o    Modem make and model number
  91.      o    Version of DOS
  92.      o    Copies of your CONFIG.SYS and AUTOEXEC.BAT files
  93.  
  94. If you  wish to  place an  order, this can be done on the BBS by using
  95. the  (S)cript  Questionaire  command  from  the  main  menu.    Answer
  96. questionaire (#1)  and please have your Visa or Mastercard handy.  You
  97. can also  call us  voice at the above number; we will be happy to take
  98. down the necessary information.
  99.  
  100.  
  101.  
  102.  
  103.  
  104.                                    
  105.                   T A B L E   O F   C O N T E N T S
  106.  
  107. License
  108.     Limited Single User License............................i
  109.     Giving a copy to a friend..............................i
  110.     Sysops - what you need to know.........................i
  111.     Distributors of "PD" or ShareWare Software.............i
  112.  
  113. Ordering Information
  114.     Registration
  115.         Registration only.................................ii
  116.         Getting a trial diskette..........................ii
  117.         Invoice order form...............................iii
  118.     Site License..........................................iv
  119.         Discounts.........................................iv
  120.  
  121. System Requirements........................................v
  122.  
  123. Warranty..................................................vi
  124.  
  125. Definitions................................................1
  126.  
  127. What's new in Qmodem 4.0...................................2
  128.  
  129. Operating Environment
  130.     Multi-Tasking Systems..................................3
  131.     Other Background Software..............................4
  132.  
  133. Back up your diskettes!....................................4
  134.  
  135. Floppy Disk Installation...................................4
  136.     Starting Qmodem in a Floppy Setup......................5
  137.  
  138. Hard Disk Installation.....................................6
  139.     Subdirectory Structure.................................6
  140.  
  141. ONLINE Help
  142.     Getting HELP when you need it..........................7
  143.  
  144. Starting Qmodem for the First time.........................8
  145.  
  146. Configuration.............................................10
  147.     Menu Navigation.......................................11
  148.     First time setup......................................12
  149.     Colors................................................13
  150.         Custom Colors.....................................14
  151.             Pulldown normal text..........................14
  152.             Pulldown first letter.........................14
  153.             Pulldown selection bar........................15
  154.             Pulldown window border........................15
  155.  
  156.  
  157.  
  158.  
  159.  
  160.             Pulldown edit field...........................15
  161.             Window border.................................15
  162.             Window primary text...........................15
  163.             Window secondary text.........................15
  164.             Window Scroll Bar.............................15
  165.             Screen border.................................15
  166.             Screen text...................................16
  167.             Information text..............................16
  168.             Status line...................................16
  169.             Online Help border............................16
  170.             Online Help text..............................16
  171.             Editor primary text...........................16
  172.             Editor marked text............................16
  173.             Editor window border..........................16
  174.             Customization Window..........................17
  175.     Modem.................................................18
  176.         Communications Parameters.........................19
  177.             Default Baud Rate.............................19
  178.             Default Data Bits.............................20
  179.             Default Parity................................20
  180.             Default Stop Bits.............................20
  181.             Command Before Baud Change....................20
  182.             Command After Baud Change.....................20
  183.             Cycle Delay...................................20
  184.             Timeout Delay.................................20
  185.             Modem Command delay...........................21
  186.             Serial Port...................................21
  187.         Modem Commands....................................22
  188.             Initialization Command........................22
  189.             Prefix Dial Command...........................22
  190.             Suffix Dial Command...........................23
  191.             Connect Message...............................23
  192.             Error Messages 1-4............................23
  193.             Abort Dial Command............................24
  194.             Hangup Command................................24
  195.             Redial Hangup Text............................25
  196.         Port Addresses....................................25
  197.             COM1-COM8 Base................................26
  198.             COM1-COM8 IRQ.................................26
  199.     Directories...........................................26
  200.         Upload............................................27
  201.         Download..........................................27
  202.         Scripts...........................................27
  203.     Host..................................................28
  204.         Type of System....................................28
  205.         Download Dir......................................29
  206.         Upload Dir........................................29
  207.         Maximum Time......................................29
  208.         DOS Password......................................29
  209.         Shutdown Password.................................30
  210.         Init Command......................................30
  211.  
  212.  
  213.  
  214.  
  215.  
  216.         Answer Command....................................30
  217.         OK Message........................................30
  218.         Ring Detect.......................................30
  219.         Busy Command......................................31
  220.     Protocols.............................................31
  221.         Protocol Revisions................................32
  222.             Select Character..............................32
  223.             Protocol Name.................................32
  224.             Upload BAT....................................32
  225.             Download BAT..................................32
  226.             Filename Prompt...............................33
  227.         Installing an external protocol...................33
  228.         ASCII Options.....................................34
  229.             ASCII Receive.................................35
  230.                 Use INPUT Translate Table.................35
  231.                 Carriage Return Handling..................35
  232.                 LineFeed Handling.........................36
  233.             ASCII Transmit................................37
  234.                 Use OUTPUT Translate Table................37
  235.                 Carriage Return Handling..................37
  236.                 LineFeed Handling.........................38
  237.                 Pacing Speed..............................38
  238.                 pAcing Character..........................38
  239.                 Blank Line Expansion......................38
  240.                 End Of Line Character.....................39
  241.     Files.................................................40
  242.         Online Help.......................................40
  243.         Screen Dump.......................................40
  244.         Capture...........................................40
  245.         Log...............................................41
  246.         Backscroll........................................41
  247.         View..............................................41
  248.     Options...............................................42
  249.         Toggles...........................................44
  250.             Xon/Xoff......................................44
  251.             BIOS Video....................................45
  252.             PCjr mode.....................................45
  253.             Beeps & Bells.................................45
  254.             Linefeed after CR.............................45
  255.             ANSI Music....................................45
  256.             CTS Signal....................................46
  257.             CTS when Writing..............................46
  258.             Redial Sets Baud Rate.........................46
  259.             Del/^H Backspace..............................47
  260.             aUto Start Log................................47
  261.             Snow Checking.................................47
  262.             Growing Windows...............................47
  263.             sTatus Line...................................47
  264.             FIFO during Shell.............................48
  265.             Keypad emulation..............................48
  266.         Memory............................................49
  267.  
  268.  
  269.  
  270.  
  271.  
  272.             Lines of Scroll-back..........................49
  273.             Script Variables..............................49
  274.             Editor Memory.................................49
  275.             Download Buffer...............................50
  276.             Overlay Buffer................................50
  277.         Sounds............................................51
  278.             Upload tone...................................51
  279.             Download tone.................................51
  280.             Connect tones.................................52
  281.         Delays............................................53
  282.             Status Windows................................53
  283.             File Transfers................................53
  284.         Characters........................................54
  285.             Date Separation...............................54
  286.             Time Separation...............................55
  287.             Beeps & Bells.................................55
  288.             ANSI Music....................................55
  289.             Status Line Filler............................55
  290.             Phone Book Tag................................55
  291.             Notes Tag.....................................56
  292.     Exit..................................................56
  293.         Abandon...........................................56
  294.         Save Changes......................................56
  295.  
  296. Upgrading from a previous release.........................56
  297.     QMODEM support files..................................58
  298.         Phone Book Files..................................58
  299.         Script Files......................................59
  300.         .KEY Files........................................59
  301.         The QMODEM.PRE File...............................61
  302.  
  303. Command Line Parameters...................................62
  304.  
  305. The Internal Editor.......................................64
  306.     Entering and Editing Text.............................64
  307.     Quick Command Reference...............................64
  308.     The Editing Screen....................................65
  309.     Basic Movement Commands...............................67
  310.     Insert and Delete Commands............................69
  311.     Block Commands........................................70
  312.     Miscellaneous Commands................................72
  313.  
  314. EDINSTAL - Keyboard Installation Program..................74
  315.     Running EDINSTAL......................................74
  316.         Fast Entry........................................75
  317.         Random Access.....................................75
  318.         Quitting the Program..............................76
  319.  
  320. The Status Line...........................................77
  321.  
  322. The Home Menu.............................................80
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. Qmodem Keyboard Commands..................................82
  330.     Strip/Replace Table   (Alt-A).........................82
  331.         Changing an incoming character....................82
  332.         Changing the High-Bits............................84
  333.     Bells and Beeps Toggle   (Alt-B)......................84
  334.     Clearing the screen   (Alt-C).........................85
  335.     Dialing Directory  (Alt-D)............................85
  336.         Moving around in the Directory....................87
  337.             How to use Prefixes...........................90
  338.             Revising this Screen..........................94
  339.             Untag All.....................................98
  340.             Starting the Dialer...........................99
  341.         Dialing from ALT-D...............................100
  342.         Primary Commands.................................100
  343.         Status messages..................................100
  344.         Parameters passed to the Linked Script...........102
  345.             Exiting the ALT-D window.....................102
  346.             Manual Dial mode.............................103
  347.             Editing Attached Notes.......................103
  348.             Other info in the Phone Book.................110
  349.     Changing Duplex Mode  (Alt-E)........................114
  350.     Script Files   (Alt-F)
  351.         What is a Script?................................115
  352.     Terminal Emulation   (Alt-G).........................116
  353.     Hangup the phone   (Alt-H)...........................118
  354.     Information screen   (Alt-I).........................119
  355.     Function Key Macros   (Alt-J)........................120
  356.         Editing Key Macros...............................121
  357.         DOS Shell Macros.................................122
  358.         A Dial Macro.....................................122
  359.         An Edit Macro....................................123
  360.         A Script Macro...................................124
  361.         A LOG Macro......................................125
  362.         The $PASSWORD Variable...........................125
  363.         Loading a new Key file...........................126
  364.     Changing the active COM port   (Alt-K)...............127
  365.     Changing the Logged Drive   (Alt-L)..................128
  366.     Music Toggle   (Alt-M)...............................129
  367.     Invoking Qinstall from Qmodem   (Alt-N)..............129
  368.     Changing Subdirectories   (Alt-O)....................130
  369.     Setting the Communications Parameters   (Alt-P)......131
  370.     The QuickLearn Script Recorder   (Alt-Q).............132
  371.         Saving the Current Setup.........................134
  372.         Commands that are recorded.......................135
  373.         Putting it all together..........................139
  374.         Sample generated script..........................144
  375.     DOS Shell   (Alt-R)..................................145
  376.     Split Screen Mode   (Alt-S)..........................147
  377.     Screen Dump   (Alt-T)................................148
  378.     Scroll Back Toggle   (Alt-U).........................148
  379.  
  380.  
  381.  
  382.  
  383.  
  384.     View a File   (Alt-V)................................149
  385.     Disk Directory   (Alt-W).............................151
  386.     Exiting Qmodem   (Alt-X).............................152
  387.     Delete a File   (Alt-Y)..............................153
  388.     Xon/Xoff Toggle   (Alt-Z)............................154
  389.     Uploading a File   (PgUp)
  390.         Protocols available..............................155
  391.     Downloading A File   (PgDn)
  392.         Protocols available..............................155
  393.         ASCII protocol...................................158
  394.         Xmodem...........................................159
  395.         Xmodem CRC.......................................159
  396.         Relaxed Xmodem...................................159
  397.         1k-Xmodem........................................159
  398.         Ymodem Batch.....................................159
  399.         Ymodem-G.........................................160
  400.         External protocols...............................161
  401.     Downloading a File   (PgDn)..........................164
  402.         The Download Window..............................165
  403.         ASCII............................................165
  404.         Xmodem, Xmodem CRC,
  405.             Xmodem Relaxed and Xmodem-1k/G...............166
  406.         Ymodem and Ymodem/G..............................167
  407.     Scroll Back   (UpArrow)..............................167
  408.     Capture to Disk   (Ctrl-Home)........................169
  409.     Sending a BREAK signal   (Ctrl-End)..................171
  410.     Backspace <-> DEL Toggle   (Alt-1)...................172
  411.     EGA/VGA Screen Modes   (Alt-2 thru Alt-6)............173
  412.     Hi Bit Stripping Toggle   (Alt-8)....................173
  413.     Copying to the Printer   (Ctrl-PrtSc)................174
  414.     Logging activity to a File   (Alt-0).................175
  415.     Host Mode   (Alt-5)..................................178
  416.         Host Setup.......................................179
  417.         External Files Required..........................179
  418.         Files created by the Host........................180
  419.         Optional Files...................................180
  420.         Logging on Locally...............................181
  421.         Starting the Host while ONLINE...................181
  422.         Sysop Commands while the Host is active..........181
  423.     Host Functions.......................................182
  424.         F  File List.....................................183
  425.         U  Upload........................................183
  426.         D  Download......................................184
  427.         R  Reading Messages..............................184
  428.         E  Entering a Message............................185
  429.             Packing the Message Base.....................186
  430.         F2  CHAT mode....................................187
  431.         O  Open Script...................................187
  432.         S  Shell to DOS..................................190
  433.  
  434. The Qmodem Script Language
  435.  
  436.  
  437.  
  438.  
  439.  
  440.     an Introduction......................................191
  441.     What is a script?....................................191
  442.     Physical vs. Logical Screen..........................192
  443.     Input and Output Commands............................192
  444.     Variable Handling....................................192
  445.     Running Scripts......................................193
  446.     Script Commands......................................193
  447.  
  448. SCRIPT LANGUAGE REFERENCE................................193
  449.     Different types of Scripts...........................193
  450.     How to create and name a Script file.................194
  451.         Using an Editor..................................194
  452.     Starting a Script....................................195
  453.     /S= command line switch..............................195
  454.     The explicit Alt-F...................................195
  455.     Linked-Script........................................195
  456.     Stopping a Script....................................195
  457.     Debugging a Script...................................195
  458.     Special characters in Scripts........................200
  459.     Definitions and Parameters...........................202
  460.         Labels...........................................202
  461.         Pre-defined String variables.....................203
  462.         Pre-defined System variables.....................204
  463.         Connect Information variables....................206
  464.     Script Commands......................................209
  465.         General Coding Information.......................209
  466.     Scripts Command Reference............................211
  467.         ATWRITE..........................................212
  468.         ASSIGN...........................................213
  469.         BEEP.............................................213
  470.         BOX..............................................214
  471.         BREAK............................................214
  472.         CAPTURE..........................................215
  473.         CHDIR............................................215
  474.         CLOSEFILE........................................216
  475.         CLRSCR...........................................216
  476.         COLOR............................................217
  477.         COLORBG..........................................217
  478.         COLORFG..........................................218
  479.         DEBUG............................................219
  480.         DECR.............................................219
  481.         DELAY............................................219
  482.         DIAL.............................................220
  483.         DISPLAY..........................................221
  484.         DISPLAYLN........................................222
  485.         DOS..............................................222
  486.         DOWNLOAD.........................................223
  487.         DOWNLD...........................................224
  488.         DRIVE............................................224
  489.         EGA..............................................225
  490.         EXIST............................................225
  491.  
  492.  
  493.  
  494.  
  495.  
  496.         EXIT.............................................226
  497.         FKEY.............................................226
  498.         FLUSH............................................227
  499.         GET..............................................227
  500.         GETR.............................................228
  501.         GETN.............................................228
  502.         GETNR............................................229
  503.         GETSCR...........................................230
  504.         GETX.............................................231
  505.         GOSUB............................................232
  506.         GOTO.............................................232
  507.         GOTOXY...........................................233
  508.         GRAPHICS.........................................233
  509.         HANGUP...........................................233
  510.         IF...............................................234
  511.         INCR.............................................235
  512.         INKEY............................................236
  513.         LOADFON..........................................236
  514.         LOADKEY..........................................237
  515.         LOG..............................................237
  516.         NOTE.............................................238
  517.         OPENFILE.........................................238
  518.         PAUSE............................................239
  519.         POP..............................................240
  520.         PORT.............................................241
  521.         PUSH.............................................242
  522.         PUTSCR...........................................242
  523.         READFILE.........................................243
  524.         RETURN...........................................243
  525.         SCRIPT...........................................244
  526.         SEND.............................................245
  527.         SETCOMM..........................................245
  528.         STAMP............................................246
  529.         STRING...........................................247
  530.         SYSTEM...........................................247
  531.         TIMEOUT..........................................248
  532.         TURNOFF..........................................248
  533.         TURNON...........................................248
  534.         UPLOAD...........................................249
  535.         UPLD.............................................251
  536.         WAITFOR..........................................251
  537.         WAITUNTIL........................................252
  538.         WHEN.............................................253
  539.         WINDOW...........................................254
  540.         WRITE............................................254
  541.         WRITELN..........................................255
  542.         WRITEFILE........................................256
  543.     Error Messages.......................................257
  544.     
  545. Appendix A - Common Questions and Answers
  546.  
  547.  
  548.  
  549.  
  550.  
  551. License
  552. ______________________________________________________________________
  553. Qmodem is not, and has never been in the Public Domain.  Qmodem is not
  554. free.
  555.  
  556. Non-registered users  are granted a limited, 90-day  license to Qmodem
  557. to determine  whether or not the program meets their needs.  Continued
  558. use of  Qmodem beyond  the 90-day  evaluation time  period    requires
  559. registration of  the program.   Use of non-registered copies of Qmodem
  560. beyond the original evaluation period is strictly prohibited.
  561.  
  562. No one may modify Qmodem for any reason, in any way, including but not
  563. limited to, decompiling-compiling, patching, disassembling, or reverse
  564. engineering the program.
  565.  
  566. These restrictions  also apply  to all  Qmodem screen displays such as
  567. the opening  screen, help  screen, and  all other  proprietary program
  568. output.   Only 'FORBIN  APPROVED' patches may be applied to the Qmodem
  569. program(s).
  570.  
  571. Qmodem may  be copied  and distributed to others, subject to the above
  572. restrictions and the following:
  573.  
  574.      Qmodem must  be copied  in unmodified  form, including  the  file
  575.      containing this license information.
  576.      
  577.      Complete Qmodem documentation and Online Help must be included.
  578.      
  579.      No copying  fee of  any type  may be  assessed other  than  basic
  580.      charges for the cost of the copying medium.
  581.      
  582.      Qmodem may not be distributed with any other software or hardware
  583.      product(s) without  the express  written permission of The Forbin
  584.      Project, Inc.
  585.      
  586.  
  587. Sysops (bulletin board SYStem OPerators) may make Qmodem available for
  588. downloading by  their users  as long  as all above conditions are met.
  589. If problems  are experienced  due to  the combined sizes of all Qmodem
  590. distribution files,  the QMODEM documentation must be bundled with the
  591. QMODEM.EXE file to insure that the user gets it.
  592.  
  593. Commercial Distributors of Public Domain, ShareWare, or User-Supported
  594. software may  distribute Qmodem  subject to  the above conditions only
  595. after obtaining  specific written  permission from the Forbin Project,
  596. Inc and  filling out  a registration  form for  upgrade notifications.
  597. This condition supersedes any and all previous agreements.
  598.  
  599. No blanket  authorization has been issued by the Forbin Project, Inc.,
  600. for commercial distribution of its products.
  601.  
  602.  
  603. Version 4.0                                                          i
  604.  
  605.  
  606.  
  607.  
  608.  
  609. Ordering Information
  610. ______________________________________________________________________
  611. When you  register your  copy of  Qmodem, you are granted a license to
  612. use the program as often as you wish.  There are several advantages to
  613. registering your copy of Qmodem:
  614.  
  615.   1. The Forbin  Project, Inc.  has 6  Bulletin Board Systems (BBS) in
  616.      house for  registered users.   As  soon as  your registration  is
  617.      received, you  will receive  1 year  of support  at no additional
  618.      charge on  these BBS's.  After the first year, you may renew your
  619.      subscription to  the Forbin  Project BBS.   Subscription renewals
  620.      also include  access to  all Qmodem  updates released during that
  621.      year on the BBS.
  622.   
  623.   2. Telephone support,  also for  a one-year  period  following  your
  624.      registration date.   No problem is too big or too small for us to
  625.      tackle,    but  you must be a registered user to get this kind of
  626.      support.
  627.   
  628.   3. We run  a "Round  Table" (special  interest group) on the General
  629.      Electric GEnie  system.   Now we are a local phone call away from
  630.      99% of you!
  631.   
  632.   4. Automatic  notification   of  upcoming   major  new  releases  or
  633.      enhancements through the mail and on the Forbin Project BBS.
  634.   
  635.   
  636.   There are two methods for registering Qmodem:
  637.   
  638.   1. Send a  completed Registration form and a check for $30.  We will
  639.      assume  that   you  have   already  obtained   the  program   and
  640.      documentation elsewhere.   The  $30  registration  fee  does  not
  641.      entitle you  to diskettes  or printed manuals.  For an additional
  642.      $15 ($45  total), you  will receive the latest version of Qmodem,
  643.      printed documentation, and utilities on diskettes.
  644.   
  645.   2. If you  have a  valid Visa or Mastercard, we also accept phone-in
  646.      orders.  Call us during normal business hours at (319) 232-4516.
  647.  
  648. If you are unsure and wish to get an evaluation disk set, you can send
  649. $15   and receive  the latest  version of  Qmodem, documentation,  and
  650. utilities.   The $15  "Trial Disk"  fee does  not include  any of  the
  651. registration benefits described earlier.
  652.  
  653. Non U.S.  residents: please  send checks or money orders drawn on U.S.
  654. Banks or  in U.S.  Funds if  at all  possible.   Payments  in  foreign
  655. currency must  include  a  $10  U.S.  equivalent  surcharge  to  cover
  656. currency exchange  handling and  foreign shipment  charges.   VISA  or
  657. MasterCard are  also acceptable.   All  foreign orders  are subject to
  658. current U.S. foreign trade and technology exchange restrictions.
  659.  
  660.  
  661. ii                                            Qmodem Operations Manual
  662.  
  663.  
  664.  
  665.  
  666.  
  667. INVOICE # 88-270945
  668.  
  669.         Remit To:       The Forbin Project, Inc.
  670.                         Post Office Box 702
  671.                         Cedar Falls, IA  50613
  672.  
  673. Qty.     Description                                        Amount
  674.  
  675. ____  Qmodem Evaluation Disk set             $15.00 ea     _________
  676.  
  677. ____  Qmodem Printed Manual                  $15.00 ea     _________
  678.  
  679. ____  Qmodem (single user) License           $30.00 ea     _________
  680.  
  681. ____  Qmodem License, Disk set &             $60.00 ea     _________
  682.       Printed Manual
  683.                                              Less Discount _________
  684.  
  685.                                              Subtotal      _________
  686.  
  687.          (Iowa residents add 4% sales tax    Tax           _________
  688.           if you are receiving a diskette)
  689.                                              Total         _________
  690.  
  691.  
  692. Payment:
  693. Check [ ]     MasterCard [ ]    Visa [ ]     PO [ ] ________________
  694.  
  695. Name:       ________________________________________________________
  696.  
  697. Company:    ________________________________________________________
  698.  
  699. Address:    ________________________________________________________
  700.  
  701.             ________________________________________________________
  702.  
  703. Work Phone: (____)  ____________     Home Phone: (____)  ___________
  704.  
  705. Card #:     ___________________________________   Exp. Date: _______
  706.  
  707. Signature of Cardholder:    ________________________________________
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719. Version 4.0                                                        iii
  720.  
  721.  
  722.  
  723.  
  724.  
  725. Site License Information
  726. ______________________________________________________________________
  727. If you  plan on  using Qmodem  in a corporation, government office, or
  728. for any business purpose whatsoever, registration is mandatory and the
  729. 90 day  limited license  is strictly enforced.  Quantity discounts are
  730. available under a Site License agreement, described below:
  731.  
  732. One MASTER  copy of  Qmodem and its  documentation will be supplied on
  733. disk.   The site  license customer  is responsible  for  printing  the
  734. documentation and  copying  the  disks  for  distribution.    Archival
  735. backups of  the MASTER copy are not counted toward the total copies of
  736. the license.
  737.  
  738. For all  site licenses,  the customer  must appoint  a single  contact
  739. person with  whom all Qmodem related dealings will take place.  Should
  740. a problem occur, that person -- and that person alone -- must  call to
  741. report the problem and arrange for its resolution.  All Qmodem program
  742. updates will be forwarded to the contact person.  When filling out the
  743. order form,  please use the contact person's name to prevent any later
  744. misunderstandings.
  745.  
  746. Site license discount rates are as follows:
  747.                
  748.                Total copies   Discount
  749.                11   -   20       5%
  750.                21   -   30      10%
  751.                31   -   40      15%
  752.                41   -   50      20%
  753.                51   -  100      25%
  754.                101  -  200      30%
  755.                201  -  300      35%
  756.                301  -  500      40%
  757.                501+             50%
  758.  
  759.  
  760.    NOTE:  All prices  and discounts  are subject  to change without
  761.           notice.   Discounts are  not cumulative;  they  apply  to
  762.           separate orders only.
  763.    
  764.    NOTE:  Purchase Orders less than $100 must be pre-paid.
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777. iv                                            Qmodem Operations Manual
  778.  
  779.  
  780.  
  781.  
  782.  
  783. System Requirements
  784. ______________________________________________________________________
  785. Qmodem requires  an IBM  PC,XT,AT,PS/2 or IBM compatible computer with
  786. at least 384K RAM, a Color Graphics or Monochrome adapter and monitor,
  787. and a  serial port  and modem.    Listed  are  some  of  the  hardware
  788. configurations on  which Qmodem  has been  tested.  This list is by no
  789. means all-inclusive,  but these have been tested and are known to work
  790. properly.
  791.  
  792.           Computers:
  793.                IBM PC/XT/AT/PS/2 or close compatible
  794.                Tandy 1000,1200,3000,5000
  795.                AT&T 6300 & 6300+
  796.                Compaq (all models including 386)
  797.                PCs Limited (all models)
  798.  
  799.           Video Cards:
  800.                IBM Monochrome or compatible
  801.                Hercules Mono or Color Graphics
  802.                IBM Color Graphics or compatible
  803.                IBM EGA or compatible with 128K or more.
  804.                IBM VGA or compatible.
  805.                Video-7 EGA/VGA.
  806.                Genoa EGA/VGA.
  807.                Paradise EGA/VGA.
  808.                Orchid VGA.
  809.  
  810.           Serial Port:
  811.                IBM Serial/Parallel adapter.
  812.                IBM Dual Async Adapter/A (PS/2).
  813.                Most any clone card with jumpers to be compatible
  814.                     with COM1: and/or COM2: compatibility.
  815.  
  816.           Modems:
  817.                Hayes and compatible.
  818.                USRobotics (all models, including HST).
  819.                Multi-Tech (all models).
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835. Version 4.0                                                          v
  836.  
  837.  
  838.  
  839.  
  840.  
  841. Warranty (or lack of it)
  842. ______________________________________________________________________
  843. The Forbin  Project, Inc.  makes no  warranty of  any kind, express or
  844. implied,   including    without   limitation,    any   warranties   of
  845. merchantability and/or  fitness for  a particular purpose.  The Forbin
  846. Project, Inc.  shall not  be liable  for any  damages, whether direct,
  847. indirect, special  or consequential  arising from  a failure  of  this
  848. program to  operate in  the manner  desired by  the user.   The Forbin
  849. Project, Inc.  shall not  be liable for any damage to data or property
  850. which may be caused directly or indirectly by the use of this program.
  851.  
  852. IN NO  EVENT WILL  THE FORBIN  PROJECT, INC.  BE LIABLE TO YOU FOR ANY
  853. DAMAGES, INCLUDING  ANY LOST PROFITS, LOST SAVINGS OR OTHER INCIDENTAL
  854. OR CONSEQUENTIAL  DAMAGES ARISING  OUT OF YOUR USE OR INABILITY TO USE
  855. THE PROGRAM, OR FOR ANY CLAIM BY ANY OTHER PARTY.
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.  
  870.  
  871.  
  872.  
  873.  
  874.  
  875.  
  876.  
  877.  
  878.  
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893. vi                                            Qmodem Operations Manual
  894.  
  895.  
  896.  
  897.  
  898.  
  899. Definitions
  900. ______________________________________________________________________
  901. Throughout the  documentation, you  may run  into technical  terms  or
  902. everyday  computer  terminology  with  which  you  are  not  familiar.
  903. Following are some text examples you may come across:
  904.  
  905. [ENTER]
  906.  
  907.      This represents  the Return or Enter key on the keyboard.  If you
  908.      see this  in the  text, press the Enter key rather than typing in
  909.      the string.
  910.  
  911. ESC or [ESC]
  912.  
  913.      This refers to the Esc key on the keyboard.
  914.  
  915. Alt-[character]
  916.  
  917.      Alt- is always followed by a character which means press and hold
  918.      the Alt  Key and  hit the following letter.  Alt-A means hold the
  919.      Alt key down and press 'A'.
  920.  
  921. Ctrl-[character]
  922.  
  923.      Is executed  the same way the Alt- is handled. You press and hold
  924.      the Ctrl  key and  then press  the following  letter.   Ctrl  key
  925.      combinations may  also be  specified by  the ^  (carat) as  in ^T
  926.      (Ctrl-T) or ^V (Ctrl-V).
  927.  
  928. .. (ellipsis)
  929.  
  930.      Means "and  everything in  between".  For example, A..Z means all
  931.      letters A through Z.
  932.  
  933.  
  934. The following bars represent an image on the screen.
  935.  
  936. ╔════════════════════════════════════════════════╗
  937.  
  938.                Sample text displayed on the screen.
  939.  
  940. ╚════════════════════════════════════════════════╝
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951. Version 4.0                                                          1
  952.  
  953.  
  954.  
  955.  
  956.  
  957. What's New in Qmodem 4.0
  958. ______________________________________________________________________
  959. Qmodem SST 4.0 major enhancements include:
  960.  
  961.   o  In addition  to the  overlay version  (.EXE &  .OVR files) of the
  962.      program, Qmodem  is also  available as a single executable (.EXE)
  963.      file.   The single  .EXE version  of Qmodem  will outperform  the
  964.      overlaid version  (if you  have sufficient  memory).   The single
  965.      .EXE version is only available on the Forbin Project BBS.
  966.   
  967.   o  The overlaid  version will  make use  of Expanded Memory (EMS) if
  968.      available.   By storing  the OVR  file in EMS, significant  speed
  969.      improvements are  realized.   This is  totally transparent to the
  970.      user.
  971.   
  972.   o  Improved overall  performance.   Qmodem automatically detects the
  973.      PC's microprocessor  type (IE., 8088, 80286, 80386) and optimizes
  974.      itself accordingly.
  975.   
  976.   o  Exhaustive "Context-Sensitive" Help is available from all Windows
  977.      and command prompts.
  978.   
  979.   o  Internal Host  Mode, complete  with password  security, messaging
  980.      and file  transfer capabilities,  as well  as  security  callback
  981.      features.
  982.   
  983.   o  Script "Quick-Learn"  mode.   Creating a customized logon script,
  984.      for example, is as simple as pressing Alt-Q.
  985.   
  986.   o  Integrated Text  Editor, configurable by the user.  Function keys
  987.      may be defined to match your favorite editor's assignments.
  988.   
  989.   o  Full   compatibility   with   Omen   Technology's   communication
  990.      protocols, including Ymodem and Ymodem-G in batch mode.
  991.   
  992.   o  The Dialing  Directory can be sorted, printed or searched easily.
  993.      Entries may  be tagged  and untagged,  and the  current entry  is
  994.      highlighted with  a screen-wide  cursor.    Creating  a  list  of
  995.      numbers to  be dialed has never been easier!  All 200 entries can
  996.      now be  'tagged' and the Redialer will cycle through all of them.
  997.      Entries can  have their  own attached  NOTE  files.    Using  the
  998.      internal editor  makes it easy to maintain these Notes.  Even the
  999.      new Find & Again commands will search the attached notes.
  1000.   
  1001.   o  The QINSTALL  configuration program  has been  totally integrated
  1002.      into Qmodem.  Pull-down, pop-up menus allow all the options to be
  1003.      changed  quickly.     Improvements  were  made  to  some  of  the
  1004.      configuration options.  For example, memory is allocated based on
  1005.      the purpose  it will  serve: scroll-back memory is allocated as a
  1006.      number of  scroll-back lines  rather  than  as  a  memory  value.
  1007.  
  1008.  
  1009. 2                                             Qmodem Operations Manual
  1010.  
  1011.  
  1012.  
  1013.  
  1014.  
  1015.      Screen colors  may be  totally customized,  or  predefined  color
  1016.      combinations may be used.
  1017.   
  1018.   o  Intelligent "fail-safe" memory allocation logic.  Over-allocation
  1019.      of  memory  to  scroll-back  buffers,  Download  buffers,  Script
  1020.      variables, or  the Internal  Editor is  detected  and  "best-fit"
  1021.      values are  reassigned to  insure proper  program operation.   In
  1022.      addition, memory  saving code  is used  to manage the scroll-back
  1023.      buffer.
  1024.   
  1025.   o  "Shelling" to  DOS now  takes advantage of the unused portions of
  1026.      the allocated memory just described.  Even with maximum values in
  1027.      memory allocation, the Shell is able to operate.
  1028.   
  1029.   o  Significant improvements  in the  Script language, including much
  1030.      faster script  execution speed,  ability to  read and write ASCII
  1031.      files, and  much more flexible script variable allocation.  While
  1032.      testing a  script, an  error will  invoke the built in editor and
  1033.      position the cursor at the offending line.
  1034.   
  1035.   o  A newly  structured general help screen, redesigned configuration
  1036.      windows and   exploding  shadowed windows.  File transfer windows
  1037.      now feature a dynamic bar graph display which tracks the transfer
  1038.      in progress for all uploads and batch downloads.
  1039.   
  1040.   o  Many of  the status/field-delimiting characters are now definable
  1041.      by the  user.   Some examples  are:  Status-line  date  and  time
  1042.      separator characters,  music and  bells indicators,  the Tag  and
  1043.      Attached-notes indicators in the Phone book, just to name a few.
  1044.   
  1045.   o  Support for  the 101-key enhanced keyboard, including the new F11
  1046.      and F12 keys.
  1047.  
  1048.  
  1049.  
  1050. Operating Environments
  1051. ______________________________________________________________________
  1052. Four multi-tasking environments are supported by Qmodem.  TopView from
  1053. IBM, DESQview  from QuarterDeck  Systems, TaskView/OmniView from Sunny
  1054. Hill Software  and Windows/386  from Microsoft.  TopView, DESQview and
  1055. Windows/386 allow  Qmodem to run in a window and without requiring the
  1056. whole screen.   TaskView takes a slightly different approach and gives
  1057. Qmodem an  entire screen  when the partition is selected.  All four of
  1058. these multi-tasking  programs let  you be  more productive  by running
  1059. other software at the same time as Qmodem.
  1060.  
  1061.    TIP:  The Utilities  Disk contains  special configuration  files
  1062.          for DESQview (QMODEM.DVP) and Windows/386 (QMODEM.PIF).
  1063.  
  1064.  
  1065.  
  1066.  
  1067. Version 4.0                                                          3
  1068.  
  1069.  
  1070.  
  1071.  
  1072.  
  1073. Qmodem may  not operate  properly when  other background  software  is
  1074. running.   By other  background software,  we mean  programs that  are
  1075. loaded in  the CONFIG.SYS,  or a  Batch file  and  remain  in  memory.
  1076. Certain screen  clock programs,  for example,  are known  to interfere
  1077. severely with serial port operations.
  1078.  
  1079. If you  experience  loss  of  incoming  data  or  other  unpredictable
  1080. problems, it  is possible  that one  of these  programs is interfering
  1081. with Qmodem.   Remove  these  programs  or  device  drivers  from  the
  1082. AUTOEXEC.BAT or  CONFIG.SYS file  one at  a time  until you  find  the
  1083. offender.
  1084.  
  1085. Another method is to start DOS without any resident programs or device
  1086. drivers and  add them  back in,  one at  a time,  until the culprit is
  1087. identified.   Most expanded  memory drivers,  mouse drivers, and hard-
  1088. disk partitioning  software  drivers  do  not  interfere  with  Qmodem
  1089. operation.
  1090.  
  1091. One program  which is  known to  interfere seriously  with serial port
  1092. operations is  the clock  driver supplied  with some  early memory and
  1093. multi-function boards.
  1094.  
  1095. Conflicts with  Qmodem may not be caused by a single program, but by a
  1096. combination of  programs, which,  taken  singly,  cause  no  problems.
  1097. Therefore, if  you suspect  some conflict, you should boot your system
  1098. with only  absolutely necessary  device drivers  and resident programs
  1099. (IE., a partitioned disk device driver).
  1100.  
  1101.  
  1102.  
  1103. Backup your diskettes!
  1104. ______________________________________________________________________
  1105. The first  thing you  should do  is back  up your  Qmodem distribution
  1106. disks.  Always backup your disks!  I can't stress this enough!  Please
  1107. refer to your DOS manual if you are not sure how to backup your disks.
  1108.  
  1109.  
  1110.  
  1111. Floppy Disk Installation
  1112. ______________________________________________________________________
  1113. Qmodem diskettes  have come  pre-installed and  you only  need to make
  1114. backups.   Be aware  that Qmodem  does require  one of  the  following
  1115. floppy drive setups:
  1116.  
  1117.   2 - 360K floppy drives
  1118.      
  1119.      This allows  you to use one of the floppy drives for downloading.
  1120.      The drive  with the  QMODEM.OVR file must never be removed during
  1121.      operation.
  1122.      
  1123.   
  1124.  
  1125. 4                                             Qmodem Operations Manual
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.   1 - 720K floppy & 1 - 360K floppy
  1132.   
  1133.      This allows  all of  the Qmodem files to remain on the 720K drive
  1134.      and allows  the 360K  to act as the data disk for downloading and
  1135.      uploading.   You should be able to split the files as if you have
  1136.      2 360K  drives and  use the  720K as  your data disk.  Again, the
  1137.      floppy with  the QMODEM.OVR  file must  never be  removed  during
  1138.      operation.
  1139.      
  1140.  
  1141. Copy all  of the  files from  the distribution  diskette to  a working
  1142. diskette.  The recommended files on each diskette are as follows:
  1143.  
  1144.      Disk #1   QMODEM.OVR     (overlay for main program)
  1145.                QMODEM.CNF     (configuration file)
  1146.                QMODEM.FON     (Alt-D phone book)
  1147.                QMODEM.PRE     (phone book prefixes)
  1148.                QMODEM.KEY     (function key text)
  1149.                QM.BAT         (startup BATCH file)
  1150.                COMMAND.COM    (to allow shelling to DOS)
  1151.  
  1152.      Disk #2   QMODEM.HLP     (online help)
  1153.                QMODEM.EXE     (main program)
  1154.                *.SCR          (optional script files)
  1155.  
  1156.    NOTE:  When using  a single 720K or 1.2mb drive, disks #1 and #2
  1157.           are combined on the single floppy.
  1158.  
  1159.  
  1160.  
  1161. Starting Qmodem in a Floppy Setup
  1162. ______________________________________________________________________
  1163. Follow these directions:
  1164.  
  1165.   1. Place a bootable DOS disk in drive A: and press Ctrl-Alt-Del.
  1166.   
  1167.   2. Place disk #1 in drive A: and disk #2 in drive B:.
  1168.   
  1169.   3. Type QM and press [ENTER] at the A> prompt.
  1170.   
  1171.   4. When the  "Terminal mode"  message appears on the screen, you can
  1172.      remove disk #2 from the B: drive and use it as a SCRATCH disk for
  1173.      uploads and download.
  1174.  
  1175.    NOTE:  Before running  the Alt-N  Setup or  accessing the Online
  1176.           Help, make sure disk #2 is back in the B: drive.
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183. Version 4.0                                                          5
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189. The QM.BAT file should look something like this:
  1190.  
  1191.      PATH A:\;B:\
  1192.      B:QMODEM
  1193.  
  1194. The first  line allows  Qmodem to  search both drives for files it may
  1195. need to  allocate.   The second line tells DOS to load Qmodem from the
  1196. B: drive  and remain  logged to  the A:  drive.   This  is  important,
  1197. because you may want to remove the B: disk after Qmodem has loaded.
  1198.  
  1199.  
  1200.  
  1201. Hard Disk Installation
  1202. ______________________________________________________________________
  1203. When installing  Qmodem on  a harddisk, all of the floppy disks should
  1204. be copied  into the \QMODEM subdirectory.  You should also modify your
  1205. AUTOEXEC.BAT file as follows:
  1206.  
  1207.   1. Add the \QMODEM subdirectory to your existing PATH= statement.
  1208.   
  1209.   2. Add a  SET QMODEM=C:\QMODEM  (or the name of the subdirectory you
  1210.      create).  This is an environment variable that Qmodem checks when
  1211.      it is  loaded.   If it  finds one,  then it  will also search the
  1212.      defined subdirectory  for any  of the  Qmodem specific  files  it
  1213.      requires.
  1214.  
  1215. Making these  two adjustments  allows Qmodem  to be  started from  any
  1216. subdirectory without  needing a  special BAT  file.   You could  start
  1217. Qmodem from  your word-processor  directory simply by typing QMODEM at
  1218. the DOS prompt!
  1219.  
  1220.  
  1221.  
  1222. Subdirectory Structure
  1223. ______________________________________________________________________
  1224. It is  said that  a picture  is worth  a thousand  words...  Here is a
  1225. picture of one possible Qmodem subdirectory setup on a hard disk:
  1226.  
  1227.           C:\───QMODEM───┬─DOWNLOAD
  1228.                          ├─HOSTDIR
  1229.                          └─SCRIPTS
  1230.  
  1231. The QMODEM\DOWNLOAD  directory will  be used to store all uploaded and
  1232. downloaded file.  A separate directory is optional, but having it will
  1233. make it easier for you to see what you have transferred.
  1234.  
  1235. The QMODEM\HOSTDIR is similar to the QMODEM\DOWNLOAD directory, but is
  1236. used by the internal Host mode of Qmodem.  Callers to the HOST will be
  1237. restricted to this directory.
  1238.  
  1239.  
  1240.  
  1241. 6                                             Qmodem Operations Manual
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247. The  QMODEM\SCRIPTS   directory  is  used  for  script  file  storage.
  1248. Keeping scripts  in a  dedicated directory  makes  script  maintenance
  1249. easier.   Copy all  .SCR files  from the  distribution disks  to  this
  1250. directory.
  1251.  
  1252.  
  1253.  
  1254. Getting Help when you need it
  1255. ______________________________________________________________________
  1256. Qmodem features  "context-sensitive" help.    As  the  name  suggests,
  1257. relevant help  information is available for any command as you execute
  1258. it, just  by pressing the Help Key.  Check the lower-right corner of a
  1259. command's window;   if  the words  "F1  Help"  are  displayed,    then
  1260. pressing the  [F1] function  key  will  open  a  special  help  window
  1261. explaining the command and its various options.  For example:
  1262.  
  1263. ╔════════════════════════════════════════════════╗
  1264.  
  1265.                ╒══ Change Log Drive ══╕
  1266.                │ Logged Drive is  : C │
  1267.                │ Enter new Drive  : _ │
  1268.                ╘══════════════F1 Help═╛
  1269.  
  1270. ╚════════════════════════════════════════════════╝
  1271.  
  1272. The online  help is  not all-inclusive,  which is  why you are reading
  1273. this paragraph.  Although the context-sensitive help is as detailed as
  1274. possible, it still is no substitute for the documentation.
  1275.  
  1276. Summary command help is available from the HOME window by pressing the
  1277. [F1] key,  followed by  the desired command key combination.  When the
  1278. [F1] key is pressed, the status line changes to the following display:
  1279.  
  1280. ╔════════════════════════════════════════════════╗
  1281.  
  1282. ▒▒▒▒▒▒▒ Press the key combination you need help with  -or-  [ESC] to Exit ▒▒▒▒▒▒
  1283.  
  1284. ╚════════════════════════════════════════════════╝
  1285.  
  1286. For example,  to get  summary help  for the  Translate  Table  command
  1287. (Alt-A), press Alt-A, and the Translate Table summary help window will
  1288. be displayed.
  1289.  
  1290. If you pressed [F1] by mistake,  press [ESC] to return to the previous
  1291. Status Line.
  1292.  
  1293.    NOTE:  Pressing [ESC]  will exit 99.9% of all windows and Qmodem
  1294.           functions without making any changes.
  1295.  
  1296.  
  1297.  
  1298.  
  1299. Version 4.0                                                          7
  1300.  
  1301.  
  1302.  
  1303.  
  1304.  
  1305. Starting Qmodem for the First Time
  1306. ______________________________________________________________________
  1307. Qmodem is started by typing "Qmodem [ENTER]" from the DOS prompt:
  1308.  
  1309.      A>QMODEM [ENTER]
  1310.  
  1311. As Qmodem starts, it displays its logo on the screen:
  1312.  
  1313. ╔════════════════════════════════════════════════╗
  1314.  
  1315. ────────────────────────────────────────────────────────────────────────────────
  1316. ─────█▀▀▀▀▀▀▀▀▀▀▀▀▀▀█───────────────────────────────────────────────────────────
  1317. ─────█  ▄▄▄▄▄▄▄▄▄▄  █────────────────────────────▄▄▄────────────────────────────
  1318. ─────█  █────────█  █────────────────────────────█ █────────────────────────────
  1319. ─────█  █────────█  █────────────────────────────█ █────────────────────────────
  1320. ─────█  █────────█  █--▄▄▄▄▄▄▄▄▄▄▄--▄▄▄▄▄▄▄--▄▄▄▄█ █--▄▄▄▄▄▄▄--▄▄▄▄▄▄▄▄▄▄▄──────
  1321. ─────█  █────────█  █--█ ▄▄▄ ▄▄▄ █--█ ▄▄▄ █--█ ▄▄▄ █--█ ▄▄▄ █--█ ▄▄▄ ▄▄▄ █──────
  1322. ─────█  █────────█  █--█ █-█ █-█ █--█ █-█ █--█ █-█ █--█ █-█ █--█ █-█ █-█ █──────
  1323. ─────█  █────────█  █--█ █-█ █-█ █--█ █-█ █--█ █-█ █--█ ▀▀▀ █--█ █-█ █-█ █──────
  1324. ─────█  █────────█  █--█ █-█ █-█ █--█ █-█ █--█ █-█ █--█ █▀▀▀▀--█ █-█ █-█ █──────
  1325. ─────█  ▀▀▀▀▀▀▀▀▀▀  ▀--█ █-█ █-█ █--█ █▄█ █--█ █▄█ █--█ █▄▄▄▄--█ █-█ █-█ █──────
  1326. ─────█▄▄▄▄▄▄▄▄▄▄▄ █▀▀█-█▄█-█▄█-█▄█--█▄▄▄▄▄█--█▄▄▄▄▄█--█▄▄▄▄▄█--█▄█-█▄█-█▄█──────
  1327. ──────────────────█▄▄█──────────────────────────────────────────────────────────
  1328. ────────────────────────────────────────────────────────────────────────────────
  1329. ────────────▄▄▄▄▄▄▄▄--▄▄▄▄▄▄▄▄--▄▄▄▄▄▄▄▄▄───────▄▄▄--▄▄▄────▄▄▄▄▄▄▄▄────────────
  1330. ────────────█ ▄▄▄▄▄█--█ ▄▄▄▄▄█--█▄▄▄ ▄▄▄█───────█ █--█ █────█ ▄▄▄▄ █────────────
  1331. ────────────█ █───────█ █──────────█ █──────────█ █--█ █────█ █--█ █────────────
  1332. ────────────█ █▄▄▄▄▄--█ █▄▄▄▄▄─────█ █──────────█ █--█ █────█ █--█ █────────────
  1333. ────────────█▄▄▄▄▄ █--█▄▄▄▄▄ █─────█ █──────────█ █▄▄█ █────█ █--█ █────────────
  1334. ─────────────────█ █───────█ █─────█ █──────────█▄▄▄▄▄ █────█ █--█ █────────────
  1335. ────────────▄▄▄▄▄█ █--▄▄▄▄▄█ █─────█ █───────────────█ █────█ █▄▄█ █────────────
  1336. ────────────█▄▄▄▄▄▄█--█▄▄▄▄▄▄█─────█▄█───────────────█▄█-██-█▄▄▄▄▄▄█────────────
  1337. ────────────────────────────────────────────────────────────────────────────────
  1338. ────────────────────────────────────────────────────────────────────────────────
  1339. ────────────  »» World Class Communications at a Shareware Price! ««  ──────────
  1340. ────────────────────────────────────────────────────────────────────────────────
  1341.  
  1342. ╚════════════════════════════════════════════════╝
  1343.  
  1344. Depending on  whether or  not the  copy of  Qmodem is registered, this
  1345. will remain  on the  screen for  up to  3 seconds.  Registered version
  1346. will begin  to load  immediately after  this is  displayed while  non-
  1347. registered version include a small time delay.  (nudge, nudge)
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357. 8                                             Qmodem Operations Manual
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363. If this is a first-time installation, the following screen will appear
  1364. after the opening has disappeared:
  1365.  
  1366. ╔════════════════════════════════════════════════╗
  1367.  
  1368.                            QMODEM INSTALLATION PART 1
  1369.  
  1370. The file QMODEM.CNF was not found in the current directory or the directory
  1371. pointed to by the Environment variable "QMODEM=",  so it is assumed this is
  1372. a new installation.   A few questions will be asked to determine how Qmodem
  1373. should be setup for you.  Please follow the  directions and  this will only
  1374. take a few minutes.
  1375. _______________________________________________________________________________
  1376.  
  1377. Display adapter detected : EGA
  1378.  
  1379. Do you want to use BIOS screen writes ? [Y/N]
  1380. Do you have a Color monitor connected ? [Y/N]
  1381.  
  1382. ╚════════════════════════════════════════════════╝
  1383.  
  1384. Because the  QMODEM.CNF configuration  file was  not  found,    Qmodem
  1385. requires information  about your  display hardware.   In  the previous
  1386. screen, an EGA card was detected.
  1387.  
  1388. Setup will then ask if you want Qmodem to use BIOS screen access (very
  1389. slow, but  clean) or not.  If you answer No, Qmodem writes directly to
  1390. video memory  for lightning fast screen displays.  BIOS screen writing
  1391. is much  slower because  every character  displayed goes  through  the
  1392. BIOS.   This is  the IBM-approved  way of doing things (figures, don't
  1393. it?).
  1394.  
  1395. The next  question asks  if you  have a color monitor attached to your
  1396. video card.   Monochrome  displays may  be attached to color adapters.
  1397. If this is your case, reply NO to this question.
  1398.  
  1399. Setup questions  are based  on the  video adapter in your system.  The
  1400. previous example  applied to  EGA/VGA/MCGA adapters. If your system is
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406.  
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415. Version 4.0                                                          9
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421. equipped with  a CGA  or Monochrome  display, the  prompts would  have
  1422. changed:
  1423.  
  1424. ╔════════════════════════════════════════════════╗
  1425.  
  1426. Display adapter detected : CGA
  1427.  
  1428. Press any key to test for video snow > _
  1429. Did your screen look fuzzy ? [Y/N] _
  1430.  
  1431. Do you want to use BIOS screen writes ? [Y/N] _
  1432. Do you have a Color monitor connected ? [Y/N] _
  1433.  
  1434. ╚════════════════════════════════════════════════╝
  1435.  
  1436. Early IBM CGA and "cheap" clones suffer from "snow" and "flicker" when
  1437. display memory  is accessed.   When  you to  press a  key, Qmodem will
  1438. attempt to generate the snow or flicker on your display.  If irregular
  1439. or fuzzy patterns or dots appeared on your screen, reply Y to the next
  1440. question.  The next two questions are the same as in the EGA example.
  1441.  
  1442. The Monochrome  card and  monitor is  a much  simpler setup.  The only
  1443. question asked is if you want to use BIOS screen writes:
  1444.  
  1445. ╔════════════════════════════════════════════════╗
  1446.  
  1447. Display adapter detected : Monochrome
  1448.  
  1449. Do you want to use BIOS screen writes ? [Y/N] _
  1450.  
  1451. ╚════════════════════════════════════════════════╝
  1452.  
  1453. Your answers to these questions enable Qmodem to configure its initial
  1454. operating  display   parameters  based  on  your  video  hardware  and
  1455. particular operating environment.
  1456.  
  1457.    NOTE:  If this  is an  upgrade to a previous release, Qmodem 4.0
  1458.           will  read   the  existing   QMODEM.CNF  and  skip  these
  1459.           questions.
  1460.  
  1461.  
  1462.  
  1463. Configuration
  1464. ______________________________________________________________________
  1465. Configuring Qmodem  is simple,  whether you  are installing Qmodem for
  1466. the first  time or upgrading from a previous release.  Seasoned Qmodem
  1467. veterans should read the section on Menu Navigation and Upgrading from
  1468. a  previous   release.    First  time  users  should  go  through  the
  1469. Installation Section of the manual and ignore the Upgrade section.
  1470.  
  1471.  
  1472.  
  1473. 10                                            Qmodem Operations Manual
  1474.  
  1475.  
  1476.  
  1477.  
  1478.  
  1479.  
  1480. Menu Navigation
  1481. ______________________________________________________________________
  1482. The Alt-N  Setup Screen will be automatically displayed the first time
  1483. Qmodem is started:
  1484.  
  1485. ╔════════════════════════════════════════════════╗
  1486.      
  1487. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  1488. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  1489. ╘═══════════════════════════════════════════════════════════════════════F1 Help╛
  1490.                             QMODEM INSTALLATION PART 2
  1491.  
  1492.   This is the Qmodem 4.0 "Alt-N Setup Menu".  With it, you can customize
  1493.   almost every part of Qmodem.  Go through all of the options now to finish
  1494.   the installation procedure.  When you are through, select Exit/Save to
  1495.   write out the new configuration file.
  1496.  
  1497.         Press ENTER to Edit the selected option or open a SubMenu.
  1498.         Press ESC to abort the changes made or close the SubMenu.
  1499.  
  1500.   ╔═══════════════════╗
  1501.   ║ Option A *        ║ ┌─── Selections that are followed by the  character
  1502.   ║ Option B   ───────┘    have SubMenus below them.
  1503.   ║ ╔═════════════════════╗
  1504.   ║ ║ Sub Option B1 *  ──── Selections that are followed by the * character
  1505.   ╚═║ Sub Option B2       ║  take effect immediately.  To save the change, you
  1506.     ║ Sub Option Other *  ║  still have to use Exit/Save from the top Menu.
  1507.     ╚═════════════════════╝
  1508.                           ┌─ The Status Line will always give you help on
  1509.                           │  the option you are changing.
  1510.                           │
  1511. ░░░░░░░░░░░░░░░░░░░░░░ Change the way Qmodem looks to you ░░░░░░░░░░░░░░░░░░░░░░
  1512.  
  1513. ╚════════════════════════════════════════════════╝
  1514.  
  1515. The top  window is  the Alt-N  Setup window, which we will refer to as
  1516. "Setup" from here on.  Since this is a new installation, it is invoked
  1517. automatically.  The accompanying text explains how to navigate through
  1518. the Setup Menus.
  1519.  
  1520.    NOTE:  This text  is only  shown for  first-time   installation.
  1521.           Subsequent calls to Setup only display the Menu Window.
  1522.  
  1523. Items may be selected with two different methods:
  1524.   
  1525.   1. By pressing the highlighted letter in the desired menu entry, or
  1526.   
  1527.   2. By moving  the selection  bar to  the desired  item and  pressing
  1528.      [ENTER].  To move the selection bar, use the cursor keys.
  1529.  
  1530.  
  1531. Version 4.0                                                         11
  1532.  
  1533.  
  1534.  
  1535.  
  1536.  
  1537. Menu entries  followed by  a down-pointing  arrow "" have one or more
  1538. additional menu  levels.  When such an entry is selected, another menu
  1539. will be  displayed from  which additional  entries or  parameters  are
  1540. configured.   Since all  Main Setup  Window  entries  have  associated
  1541. menus, the arrows were omitted.
  1542.  
  1543. Changes made  to entries  followed by  an asterisk  "*" go into effect
  1544. immediately.   These will  be noted  as we  proceed through  the Setup
  1545. instructions.
  1546.  
  1547. Some menu entries may have both an asterisk and a down-pointing arrow;
  1548. which means  that changes  to entries  in lower-level  menus  go  into
  1549. effect immediately.   As  you can  see from  the  main  Setup  window,
  1550. changes made to entries in the  Colors, Dirs, Host and Protocols menus
  1551. will take effect immediately.
  1552.  
  1553. While in Setup, the status line always displays a brief description of
  1554. the currently  selected item.   If  additional information  is needed,
  1555. press the [F1] key for detailed online help.
  1556.  
  1557. While changing to an item, pressing [ESC] restores its original value.
  1558. To save the change, press [ENTER].  Changes to the Setup are not saved
  1559. automatically; when done you must use the Exit/Save Top Menu Option to
  1560. save all changes in the QMODEM.CNF file.
  1561.  
  1562.  
  1563.  
  1564. First Time Setup
  1565. ______________________________________________________________________
  1566. Now that  you can  navigate through  Setup menus, let's start with the
  1567. various setup tasks from left to right.  Colors is first...
  1568.  
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576.  
  1577.  
  1578.  
  1579.  
  1580.  
  1581.  
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589. 12                                            Qmodem Operations Manual
  1590.  
  1591.  
  1592.  
  1593.  
  1594.  
  1595. Alt-N/C  Colors
  1596. ______________________________________________________________________
  1597. The Colors  Setup option  is used  to configure  Qmodem screen colors.
  1598. You may  select one  of 5 pre-defined color combinations, or customize
  1599. the colors to your liking.
  1600.  
  1601. ╔════════════════════════════════════════════════╗
  1602.  
  1603. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  1604. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  1605. ╘╒═══════════════════╕══════════════════════════════════════════════════F1 Help╛
  1606.  │ Custom colors    │
  1607.  │ Blue shades       │
  1608.  │ Purple shades     │
  1609.  │ Red shades        │
  1610.  │ Monochrome shades │
  1611.  │ LCD Laptop shades │
  1612.  ╘════════════F1 Help╛
  1613.  
  1614. ╚════════════════════════════════════════════════╝
  1615.  
  1616. The last  five options are the predefined color combinations mentioned
  1617. earlier.   The last  two entries  are intended for standard monochrome
  1618. displays and  Laptop Liquid  Crystal (LCD)  displays  which  can  only
  1619. display shades of Gray.
  1620.  
  1621.    NOTE:  Colors are  a cosmetic  feature and  have  no  effect  on
  1622.           Qmodem's operation. First-time users should select one of
  1623.           the predefined  color  combinations  and  concentrate  on
  1624.           other sections  of the  Qmodem  setup.    Colors  may  be
  1625.           customized easily after all other operational parameters.
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647. Version 4.0                                                         13
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653. Alt-N/C/C  Custom Colors
  1654. ______________________________________________________________________
  1655. Selecting the Custom Colors options yields the following menu:
  1656.  
  1657. ╔════════════════════════════════════════════════╗
  1658.  
  1659. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  1660. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  1661. ╘╒═══════════════════╕══════════════════════════════════════════════════F1 Help╛
  1662.  │ Custom colors    │
  1663.  │ ╒════════════════════════════╕
  1664.  │ │ A - Pulldown normal text   │
  1665.  │ │ B - Pulldown first letter  │
  1666.  │ │ C - Pulldown selection bar │
  1667.  │ │ D - Pulldown window border │
  1668.  ╘═│ E - Pulldown edit field    │
  1669.    │ F - Window border          │
  1670.    │ G - Window primary text    │
  1671.    │ H - Window secondary text  │
  1672.    │ I - Window Scroll Bar      │
  1673.    │ J - Screen border          │
  1674.    │ K - Screen text            │
  1675.    │ L - Information text       │
  1676.    │ M - Status line            │
  1677.    │ N - Online Help border     │
  1678.    │ O - Online Help text       │
  1679.    │ P - Editor primary text    │
  1680.    │ Q - Editor marked text     │
  1681.    │ R - Editor window border   │
  1682.    ╘═════════════════════F1 Help╛
  1683.  
  1684. ╚════════════════════════════════════════════════╝
  1685.  
  1686.  
  1687. The 18  entries in  the custom colors menu correspond to the following
  1688. areas  and   elements  of  the  Qmodem  screen  whose  colors  can  be
  1689. individually customized:
  1690.  
  1691.  
  1692. A.   Pulldown normal text                                (Alt-N/C/C/A)
  1693.      
  1694.      The color of entries that can be selected in pulldown menus.
  1695.  
  1696.  
  1697. B.   Pulldown first letter                               (Alt-N/C/C/B)
  1698.      
  1699.      The color  of the  Entry Selection  Character, which should stand
  1700.      out from the normal text so it can be identified easily.
  1701.  
  1702.  
  1703.  
  1704.  
  1705. 14                                            Qmodem Operations Manual
  1706.  
  1707.  
  1708.  
  1709.  
  1710.  
  1711. C.   Pulldown selection bar                              (Alt-N/C/C/C)
  1712.  
  1713.      The color  of  selected  text  (IE.,  the  text  under  the  menu
  1714.      selection bar).   This  should also contrast with the normal text
  1715.      color.
  1716.      
  1717.      
  1718. D.   Pulldown window border                              (Alt-N/C/C/D)
  1719.  
  1720.      The frame (or border) color of all pulldown menu windows.
  1721.      
  1722.      
  1723. E.   Pulldown edit field                                 (Alt-N/C/C/E)
  1724.  
  1725.      The color  of variable  menu text while it is being edited.  When
  1726.      pressing [ENTER]  to select the option, the text will change from
  1727.      the scrollbar  color to  this color to indicate that edit mode is
  1728.      active.   Pressing [ENTER]  (accept the change) or [ESC] (restore
  1729.      the original  value) will  change the  text color back to that of
  1730.      the scrollbar.
  1731.  
  1732.  
  1733. F.   Window border            (Alt-N/C/C/F)
  1734.  
  1735.      The frame  color of  the windows  displayed  for  most  Alt-  key
  1736.      command.
  1737.      
  1738.      
  1739. G.   Window primary text      (Alt-N/C/C/G)
  1740. H.   Window secondary text    (Alt-N/C/C/H)
  1741.  
  1742.      The colors  of the two types of text usually displayed in Alt-key
  1743.      command windows, for example fixed labels and variable text.  The
  1744.      two should  share the  same background  color, or unusual-looking
  1745.      window displays are likely to result.
  1746.  
  1747.  
  1748. I.   Window Scroll Bar                                   (Alt-N/C/C/I)
  1749.  
  1750.      The color  of the Phone Directory (Alt-D) Scrollbar cursor.  This
  1751.      should contrast with the color of the window text defined above.
  1752.  
  1753.  
  1754. J.   Screen border                                       (Alt-N/C/C/J)
  1755.  
  1756.      The color  of the 3/4" CRT edge which surrounds the display area.
  1757.      The border  color can  be set  on CGA  displays,  but  may  yield
  1758.      questionable  results   on  EGA  and  VGA  displays  (IE.,  thin,
  1759.      unevenly-spaced  lines).     Monochrome  displays  do  not  allow
  1760.      different screen border shades.
  1761.      
  1762.  
  1763. Version 4.0                                                         15
  1764.  
  1765.  
  1766.  
  1767.  
  1768.  
  1769.    NOTE:  Border color  is not an "officially-supported" EGA or VGA
  1770.           feature.   Thus, questionable results with these displays
  1771.           are the result of hardware limitation, NOT a Qmodem bug.
  1772.  
  1773.  
  1774. K.   Screen text                                         (Alt-N/C/C/K)
  1775.  
  1776.      The color  of standard  screen text  displayed while  in terminal
  1777.      mode.   The majority  of the text viewed during an online session
  1778.      will be in this color.
  1779.      
  1780.    TIP:  Text color  may change  while online  under ANSI  or VT100
  1781.          emulation mode.   To  restore the  default color,    press
  1782.          Alt-C to clear the screen.
  1783.  
  1784.  
  1785. L.   Information text                                    (Alt-N/C/C/L)
  1786.  
  1787.      The color  of Qmodem messages displayed while in terminal mode to
  1788.      notify you  of some  important event or condition.  This text was
  1789.      not received  from the  remote  system.    It  should  be  easily
  1790.      distinguishable from normal screen text.
  1791.  
  1792.  
  1793. M.   Status line                                         (Alt-N/C/C/M)
  1794.  
  1795.      The color  of the Qmodem Status line, displayed  at the bottom of
  1796.      the screen.   Because  of the  critical importance of status line
  1797.      information, it should also be distinguishable from normal screen
  1798.      text.
  1799.      
  1800.  
  1801. N.   Online Help border                                  (Alt-N/C/C/N)
  1802. O.   Online Help text                                    (Alt-N/C/C/O)
  1803.  
  1804.      The colors  used in  online help windows, displayed when the [F1]
  1805.      key is  pressed.    Since  keywords  within  the  help  text  are
  1806.      displayed in  the window  border color, the same background color
  1807.      should be used for both.
  1808.  
  1809.  
  1810. P.   Editor primary text                                 (Alt-N/C/C/P)
  1811. Q.   Editor marked text                                  (Alt-N/C/C/Q)
  1812. R.   Editor window border                                (Alt-N/C/C/R)
  1813.  
  1814.      The colors  of the  Qmodem Internal Editor's primary text, marked
  1815.      text, and  window frame.   "Marked  text"  is text which has been
  1816.      selected  for   subsequent  action  (IE,  block  move,  cut/paste
  1817.      etc...).   Editor status  information at  the top  of the  editor
  1818.      window is also displayed in the Marked Text color.
  1819.      
  1820.  
  1821. 16                                            Qmodem Operations Manual
  1822.  
  1823.  
  1824.  
  1825.  
  1826.  
  1827.    NOTE:  Embedded Control characters are normally displayed in the
  1828.           Marked Text  color.   When control  characters themselves
  1829.           are marked, they are displayed in the Primary color.
  1830.  
  1831.  
  1832.  
  1833. Customization Window
  1834. ______________________________________________________________________
  1835. When one  of the  18 screen  elements is  selected, the  Qmodem  color
  1836. selection screen is displayed:
  1837.  
  1838. ╔════════════════════════════════════════════════╗
  1839.  
  1840. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  1841. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  1842. ╘╒═══════════════════╕══════════════╒═════════════ Sample Screen ══════════════╕
  1843.  │ Custom colors    │              │ Option 1    Option 2    Option 3         │
  1844.  │ ╒╒═══Pulldown normal text═══╕╕   │ ╒════════════════════╕                   │
  1845.  │ ││                          ││   │ │Field in Edit░░░░░░░│  ╒ Help Window ╕  │
  1846.  │ ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │ │Not in Edit░░░░░░░░░│  │ Text color  │  │
  1847.  │ ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │ ╘════════════════════╛  ╘═════════════╛  │
  1848.  │ ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │                                          │
  1849.  ╘═││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │              ╒════ Frame Color ═════╕    │
  1850.    ││┌───┐■  ■  ■  ■  ■  ■  ■  ││   │AT            │Primary window text   │    │
  1851.    │││ ■ │■  ■  ■  ■  ■  ■  ■  ││   │OK            │Secondary text        │    │
  1852.    ││└───┘■  ■  ■  ■  ■  ■  ■  ││   │              │Scroll Bar text       │    │
  1853.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │              │                      │    │
  1854.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │              ╘══════════════════════╛    │
  1855.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │                                          │
  1856.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │    ╒═══════ Full Screen Edit ═══════╕    │
  1857.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │    │ Normal Text                    │    │
  1858.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │    │ Marked Text                    │    │
  1859.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │    ╘════════════════════════════════╛    │
  1860.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │                                          │
  1861.    ││  ■  ■  ■  ■  ■  ■  ■  ■  ││   │Information message text                  │
  1862.    ││                          ││   │░░░░░░░░░░░░░░░ Status Line ░░░░░░░░░░░░░░│
  1863.    ╘╘══════════════════════════╛╛   ╘══════════════════════════════════════════╛
  1864.  
  1865. ╚════════════════════════════════════════════════╝
  1866.  
  1867. At the  left of  the screen  is a  color chart  showing  all  possible
  1868. foreground and background color combinations.  To select a color, move
  1869. the square  color selector  box with  the arrow  keys.   The change is
  1870. immediately reflected  in the  Qmodem mini-screen on the right side of
  1871. the display.
  1872.  
  1873.    NOTE:  In the  example above,  the Pulldown Normal Text is being
  1874.           modified.
  1875.  
  1876.  
  1877.  
  1878.  
  1879. Version 4.0                                                         17
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885. Pressing [ESC]  restores the  item's original  color.   To confirm the
  1886. color change,  press [ENTER].     All color  changes will  take effect
  1887. immediately.
  1888.  
  1889.    NOTE:  Color changes  must be  saved explicitly  via  the  Alt-N
  1890.           Exit/Save menu option.  If the new color settings are not
  1891.           saved, the  last color  setup will  be restored  the next
  1892.           time Qmodem is started.
  1893.  
  1894.  
  1895.  
  1896. Alt-N/M  Modem
  1897. ______________________________________________________________________
  1898. Modem-dependent   settings affect the interaction between Qmodem, your
  1899. computer, and  your modem.   If you use a 1200bps Hayes Smartmodem (or
  1900. compatible unit)  attached to  the first  communication port  in  your
  1901. computer  (COM1),  most  of  Qmodem's  default  modem  parameters  are
  1902. correct.   However, the  modem setup  must be  reviewed to insure that
  1903. specific parameters  are set  properly.   Selecting  the  Alt-N  Modem
  1904. option yields the following menu:
  1905.  
  1906. ╔════════════════════════════════════════════════╗
  1907.  
  1908. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  1909. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  1910. ╘════╒════════════════════════════╕═════════════════════════════════════F1 Help╛
  1911.      │ Communication Parameters  │
  1912.      │ Modem Commands *          │
  1913.      │ Port Addresses            │
  1914.      ╘═════════════════════F1 Help╛
  1915.  
  1916. ╚════════════════════════════════════════════════╝
  1917.  
  1918. The Modem Menu features three selections:
  1919.  
  1920. C.   Communication Parameters                              (Alt-N/M/C)
  1921.      
  1922.      These  hardware   parameters  control   the  operation   of   the
  1923.      communication port and its interaction with the modem.
  1924.      
  1925.      
  1926. M.   Modem Commands                                        (Alt-N/M/M)
  1927.      
  1928.      Modem commands  define the  text of messages SENT TO the modem to
  1929.      cause a  specific action  (IE., dial,  hang up), or RECEIVED FROM
  1930.      the modem to acknowledge a command (IE., OK, ERROR), or reflect a
  1931.      specific condition (IE., BUSY, CONNECT, NO CARRIER).
  1932.      
  1933.      
  1934.  
  1935.  
  1936.  
  1937. 18                                            Qmodem Operations Manual
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943. P.   Port Addresses                                        (Alt-N/M/P)
  1944.      
  1945.      Port addresses  are hardware-dependent  values which  define  the
  1946.      computer's communications  (COM) ports.   Two COM ports (COM1 and
  1947.      COM2) are  standard for  most IBM PC, XT, AT, PS/2 and compatible
  1948.      machines (although  only one may be available).  Qmodem allows up
  1949.      to eight communication ports (COM1 through COM8).
  1950.  
  1951.  
  1952.  
  1953. Alt-N/M/C  Communications Parameters
  1954. ______________________________________________________________________
  1955. When the  Communication parameters  option is  selected, the following
  1956. menu is displayed:
  1957.  
  1958. ╔════════════════════════════════════════════════╗
  1959.  
  1960. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  1961. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  1962. ╘════╒════════════════════════════╕═════════════════════════════════════F1 Help╛
  1963.      │ Communication Parameters  │
  1964.      │ Mo╒═════════════════════════════════════════════════╕
  1965.      │ Po│ A - Default baud rate            1200           │
  1966.      ╘═══│ B - Default data bits            8              │
  1967.          │ C - Default parity               None           │
  1968.          │ D - Default stop bits            1              │
  1969.          │ E - Command before baud change * ░░░░░░░░░░░░░░ │
  1970.          │ F - Command after baud change *  ░░░░░░░░░░░░░░ │
  1971.          │ G - Cycle delay *                5              │
  1972.          │ H - Timeout delay *              60             │
  1973.          │ I - Modem command delay *        10             │
  1974.          │ J - Serial port                  1              │
  1975.          ╘══════════════════════════════════════════F1 Help╛
  1976.  
  1977. ╚════════════════════════════════════════════════╝
  1978.  
  1979. A.   Default Baud Rate                                   (Alt-N/M/C/A)
  1980.      
  1981.      The Baud  Rate is  the speed  at which the COM port operates;  it
  1982.      should match  the modem's speed.  Supported speeds are 300, 1200,
  1983.      2400, 4800,  9600, 19200  and 38400.   The  default baud  rate is
  1984.      1200.
  1985.      
  1986.    NOTE:  With many  error-correcting and  high-speed   modems, the
  1987.           COM speed  can be  set higher  than the  modem's  nominal
  1988.           communications speed.   For  example, the USR Courier HST
  1989.           modem, rated  at 9600 baud, supports a COM speed of 19200
  1990.           baud.     Consult  your   modem  manual   for  additional
  1991.           information on supported COM speeds.
  1992.      
  1993.      
  1994.  
  1995. Version 4.0                                                         19
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001. B.   Default Data Bits                                   (Alt-N/M/C/B)
  2002.      
  2003.      Characters transmitted over phone lines are made up of data bits.
  2004.      For communications  which support text and program file transfers
  2005.      (IE., most PC-based BBS systems), 8 data bits are required.  When
  2006.      communicating with  mainframe or  minicomputer-based  systems,  a
  2007.      value of  7 is  often used,   unless  otherwise specified.    The
  2008.      Qmodem  data  bits  setting  must  match  that  of  the  software
  2009.      operating on the remote computer.
  2010.      
  2011.      
  2012. C.   Default Parity                                      (Alt-N/M/C/C)
  2013.      
  2014.      Parity  is  used  to  insure  the  validity  of  the  data  being
  2015.      transmitted and  received.  Parity values are None, Odd, or Even.
  2016.      This value  must match  that used  by the  computer being called.
  2017.      Most BBS's use No Parity, the default value.
  2018.      
  2019.      
  2020. D.   Default Stop Bits                                   (Alt-N/M/C/D)
  2021.      
  2022.      Stop bits  are generated  by  the  UART  to  isolate  transmitted
  2023.      characters.  The majority of computer systems require 1 stop bit,
  2024.      the default  value.   As with  other parameters,  this value must
  2025.      match the other computer's setting.
  2026.      
  2027.      
  2028. E.   Command Before Baud Change                          (Alt-N/M/C/E)
  2029. F.   Command After Baud Change                           (Alt-N/M/C/F)
  2030.      
  2031.      These two  strings are  sent to  the modem  before and  after the
  2032.      serial port  speed is changed.  The default value is blank.  Non-
  2033.      standard modems may require a different value.
  2034.      
  2035. G.   Cycle Delay                                         (Alt-N/M/C/G)
  2036.      
  2037.      The Cycle  Delay is  the number  of seconds Qmodem waits after an
  2038.      unsuccessful dial  (IE., a  BUSY signal)  before trying  the next
  2039.      number in  the dialing  queue (or  the same  number again).   The
  2040.      default value is 45 seconds.
  2041.      
  2042.      
  2043. H.   Timeout Delay                                       (Alt-N/M/C/H)
  2044.      
  2045.      The Timeout  Delay is  the number  of seconds  Qmodem waits for a
  2046.      connection after dialing a number.  When this period has expired,
  2047.      Qmodem will  instruct the modem to hang up.  The default value is
  2048.      60 seconds.
  2049.   
  2050.  
  2051.  
  2052.  
  2053. 20                                            Qmodem Operations Manual
  2054.  
  2055.  
  2056.  
  2057.  
  2058.  
  2059.    TIP:  Most modems  feature an  internal  timeout  delay.    When
  2060.          dialing, the  shortest delay will prevail.  Make sure that
  2061.          your modem's  internal timeout  value is at least equal to
  2062.          the Qmodem   setting.  In Hayes and compatible modems, the
  2063.          command ATS7=60  will set the modem's internal delay to 60
  2064.          seconds.   Increasing the modem's own timeout value allows
  2065.          Qmodem total control over the dialing process.
  2066.   
  2067.   
  2068. I.   Modem Command delay                                 (Alt-N/M/C/I)
  2069.      
  2070.      This is  the delay,  in milliseconds  (1000 =  1 second) inserted
  2071.      between characters  sent to  the modem  while it is OFFLINE.  The
  2072.      default value  is 0.   Some  high-speed modems may require a non-
  2073.      zero value  if commands  are not recognized, or if the modem does
  2074.      not return  an OK  acknowledgment.   The most common symptoms are
  2075.      the modem's lack of an OK response when first initialized, or the
  2076.      modem's inability to dial.
  2077.      
  2078.      
  2079. J.   Serial Port                                         (Alt-N/M/C/J)
  2080.      
  2081.      This is  the port  number (1-8)  to which  the modem is attached.
  2082.      The default  is port 1.  For port addresses higher than 2 be sure
  2083.      to configure the Base address and IRQ in the Alt-N/M/P menu.
  2084.      
  2085.    NOTE:  The default Speed, Parity, Data bits and Stop bits values
  2086.           are not  fixed.   Defaults  can  be  overridden  in  each
  2087.           dialing directory  entry to  match the  settings  of  the
  2088.           remote computer.
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110.  
  2111. Version 4.0                                                         21
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117. Alt-N/M/M  Modem Commands
  2118. ______________________________________________________________________
  2119. When the  Modem Commands  option is  selected, the  following menu  is
  2120. displayed:
  2121.  
  2122. ╔════════════════════════════════════════════════╗
  2123.  
  2124. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2125. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  2126. ╘════╒════════════════════════════╕═════════════════════════════════════F1 Help╛
  2127.      │ Communication Parameters  │
  2128.      │ Modem Commands *          │
  2129.      │ Po╒════════════════════════════════════════════════════╕
  2130.      ╘═══│ Initialization Command    ATE1Q0X1V1S7=60^M░░░░░░░ │
  2131.          │ Prefix Dial Command       ATDT░░░░░░░░░░           │
  2132.          │ Suffix Dial Command       ^M░░░░░░░░░░░░           │
  2133.          │ Connect Message           CONNECT░░░░░░░           │
  2134.          │ 1st Error Message         NO CARRIER░░░░           │
  2135.          │ 2nd Error Message         BUSY░░░░░░░░░░           │
  2136.          │ 3rd Error Message         NO DIAL TONE░░           │
  2137.          │ 4th Error Message         VOICE░░░░░░░░░           │
  2138.          │ Abort Dial Command        ^M░░░░░░░░░░░░           │
  2139.          │ Hangup Command            ^~^~^~+++^~^~^~ATH^M░░   │
  2140.          │ Redial Cancel Text        RING░░░░░░░░░░           │
  2141.          ╘═════════════════════════════════════════════F1 Help╛
  2142.  
  2143. ╚════════════════════════════════════════════════╝
  2144.  
  2145. I.   Initialization Command                              (Alt-N/M/M/I)
  2146.  
  2147.      Default: AT E1 Q0 M1 X1 V1 S7=60^M
  2148.      
  2149.      This command resets Hayes and compatible modems to their standard
  2150.      operating parameters.   This  command may  vary depending  on the
  2151.      modem being used; consult the modem owner's manual.
  2152.  
  2153.  
  2154. P.   Prefix Dial Command                                 (Alt-N/M/M/P)
  2155.  
  2156.      Default: ATDT
  2157.      
  2158.      This  command  is  used  to  tone-dial  a  number  on  Hayes  and
  2159.      compatible modems; it is sent to the modem immediately before the
  2160.      telephone number to be dialed.  For pulse-dialing, use the "ATDP"
  2161.      command.
  2162.      
  2163.      The dialing  commands may  vary depending  on your  modem  brand.
  2164.      Consult the modem manual for additional information.
  2165.      
  2166.  
  2167.  
  2168.  
  2169. 22                                            Qmodem Operations Manual
  2170.  
  2171.  
  2172.  
  2173.  
  2174.  
  2175.      If your  modem  requires  a  150  millisecond  BREAK  signal  for
  2176.      dialing,  change this command to the word BREAK.
  2177.  
  2178.    NOTE:   Adding *70  after the  ATDT dial  command can be used to
  2179.           disable call-waiting  on some tone-dialing phone systems.
  2180.           Adding 1170  after the  ATDP dial  command can be used to
  2181.           disable call-waiting on some pulse-dialing phone systems.
  2182.           Check with  your phone  company to  see if these features
  2183.           are supported.
  2184.  
  2185.  
  2186. S.   Suffix Dial Command                                 (Alt-N/M/M/S)
  2187.  
  2188.      Default:  ^M (a carriage return)
  2189.      
  2190.      This string  immediately follows the number to be dialed.  Should
  2191.      your modem  require a  different  End-of-Command  character,  you
  2192.      should place it here.
  2193.  
  2194.  
  2195. C.   Connect Message                                     (Alt-N/M/M/C)
  2196.  
  2197.      Default:  CONNECT
  2198.      
  2199.      The message  returned by  the modem  when a successful connection
  2200.      has been  established.   Most modems will also return the connect
  2201.      speed as part of the message, IE: "CONNECT/2400".  Do not include
  2202.      a speed  value as  part of this message.  Doing so will prevent a
  2203.      connection if  the baud  rate  is  different  from  the  one  you
  2204.      entered.
  2205.      
  2206.  
  2207. 1.   Error Message 1                                     (Alt-N/M/M/1)
  2208. 2.   Error Message 2                                     (Alt-N/M/M/2)
  2209. 3.   Error Message 3                                     (Alt-N/M/M/3)
  2210. 4.   Error Message 4                                     (Alt-N/M/M/4)
  2211.  
  2212.      Defaults: BUSY
  2213.                NO CARRIER
  2214.                NO DIAL TONE
  2215.                NO CONNECT
  2216.      
  2217.      These  error   messages  are  returned  by  the  modem  when  the
  2218.      connection could  not be  established.   Your  modem  may  return
  2219.      different  messages;   refer  to   the  manual   for   additional
  2220.      information.
  2221.  
  2222.  
  2223.  
  2224.  
  2225.  
  2226.  
  2227. Version 4.0                                                         23
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.    NOTE:  Many modems  can be  set to  return NUMERIC  codes rather
  2234.           than VERBAL  messages.   Although either can be used, you
  2235.           should use  the more descriptive verbal messages.  If the
  2236.           modem is set to return numeric codes,  Qmodem will not be
  2237.           able to determine the connect speed.
  2238.  
  2239.  
  2240. A.   Abort Dial Command                                  (Alt-N/M/M/A)
  2241.  
  2242.      Default:  ^M (carriage return)
  2243.      
  2244.      This string  will be  sent to the modem when a dial request is to
  2245.      be cancelled  (IE: pressing  [ESC]  from  the  dialing  directory
  2246.      screen while  dialing is  in progress).   Most modems accept  ^M.
  2247.      If the modem supports "dropping DTR" as a disconnect method,  the
  2248.      word DTR  (Data Terminal  Ready)should be  entered in this field.
  2249.      Consult the modem manual for information on this feature.
  2250.  
  2251.  
  2252. H.   Hangup Command                                      (Alt-N/M/M/H)
  2253.  
  2254.      Default:  ^~^~^~+++^~^~^~ATH0^M
  2255.      This command  will cause  Hayes and  compatible modem to hang up.
  2256.      Each ^~  pair causes  a 1/2-second  delay.  In the example above,
  2257.      the +++  modem escape  sequence is preceded and followed by a 1.5
  2258.      second delay.  This delay, referred to as  "escape guard time" is
  2259.      required for  the modem  to recognize  the  escape  sequence  and
  2260.      switch to  command mode.   The  ATH0^M command then instructs the
  2261.      modem to go on-hook (hang up).
  2262.      
  2263.      For modems  which recognize  "dropping" of  the DTR  signal as  a
  2264.      disconnect method, specify the word "DTR" in this field.  To hang
  2265.      up,  Qmodem  disables  the  DTR  signal,  pauses,  and  then  re-
  2266.      establishes it.   This hardware-only method, if supported by your
  2267.      modem,   is far more reliable than using a modem software command
  2268.      which could easily fail (IE., because of line noise).  The reason
  2269.      the DTR method is not the default is that, unfortunately, not all
  2270.      modems support DTR disconnect control.
  2271.      
  2272.      Specifying "BREAK"  will send  the modem  BREAK  signal  for  150
  2273.      milliseconds.     Some  modems  attached  to  PBX  (Public  Board
  2274.      eXchange,  a.k.a.  switchboard)  require  a  BREAK  in  order  to
  2275.      disconnect a call.
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281.  
  2282.  
  2283.  
  2284.  
  2285. 24                                            Qmodem Operations Manual
  2286.  
  2287.  
  2288.  
  2289.  
  2290.  
  2291. R.   Redial Hangup Text                                  (Alt-N/M/M/R)
  2292.  
  2293.      Default:  RING
  2294.      
  2295.      This message  text, when  received, will  cause  Qmodem  to  stop
  2296.      dialing immediately.   If  you are sharing a voice line with your
  2297.      modem, this  allows you  to answer the phone personally.  If your
  2298.      modem is  connected to  its own  dedicated phone line, this field
  2299.      can be left blank.
  2300.  
  2301.  
  2302.  
  2303. Alt-N/M/P  Port Addresses
  2304. ______________________________________________________________________
  2305. When the  Port Address  option is selected, the following menu will be
  2306. displayed:
  2307.  
  2308. ╔════════════════════════════════════════════════╗
  2309.  
  2310. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2311. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  2312. ╘════╒════════════════════════════╕═════════════════════════════════════F1 Help╛
  2313.      │ Communication Parameters  │
  2314.      │ Modem Commands *          │
  2315.      │ Port Addresses            │
  2316.      ╘═══╒═════════════════════╕lp╛
  2317.          │ A - COM1 Base  03F8 │
  2318.          │ B - COM2 Base  02F8 │
  2319.          │ C - COM3 Base  03E8 │
  2320.          │ D - COM4 Base  02E8 │
  2321.          │ E - COM5 Base  3220 │
  2322.          │ F - COM6 Base  3228 │
  2323.          │ G - COM7 Base  0000 │
  2324.          │ H - COM8 Base  0000 │
  2325.          │ I - COM1 IRQ   4    │
  2326.          │ J - COM2 IRQ   3    │
  2327.          │ K - COM3 IRQ   4    │
  2328.          │ L - COM4 IRQ   3    │
  2329.          │ M - COM5 IRQ   3    │
  2330.          │ N - COM6 IRQ   3    │
  2331.          │ O - COM7 IRQ   0    │
  2332.          │ P - COM8 IRQ   0    │
  2333.          ╘══════════════F1 Help╛
  2334.  
  2335. ╚════════════════════════════════════════════════╝
  2336.  
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342.  
  2343. Version 4.0                                                         25
  2344.  
  2345.  
  2346.  
  2347.  
  2348.  
  2349. A.-
  2350. H.   COMx Base                                           (Alt-N/M/P/x)
  2351.      
  2352.      These are  the computer's  COM port  hardware addresses.   Qmodem
  2353.      supports default  assignments for  two serial  ports,  COM1:  and
  2354.      COM2:.   For PC/XT/AT  and compatibles equipped with IBM-standard
  2355.      adapters, the  port address  and  IRQ  assignments  need  not  be
  2356.      changed.   IBM PS/2  units also support the COM3: and COM4: ports
  2357.      with the following assignments:
  2358.      
  2359.                Port #        Address    IRQ
  2360.                ----------------------------
  2361.                COM3:           3220      3
  2362.                COM4:           3228      3
  2363.      
  2364.    NOTE:  On non-PS/2  machines, port  assignments above  COM2  are
  2365.           non-standard.   Refer to  the adapter or internal modem's
  2366.           documentation for specific hardware information.
  2367.  
  2368. I.-
  2369. P.   COMx IRQ                                            (Alt-N/M/P/x)
  2370.  
  2371.      The IRQ  (Interrupt ReQuest)  value must  be known for the serial
  2372.      ports to  be accessed.   When  specifying Base addresses for non-
  2373.      standard COM  ports, you  must also  set the  correct IRQ values.
  2374.      Failure to set the IRQ will prevent Qmodem from accessing the COM
  2375.      port and will make communications impossible.
  2376.      
  2377.      Refer to  the previous  example for  setting up  a PS/2  COM3: or
  2378.      COM4: board.
  2379.      
  2380.  
  2381.  
  2382. Alt-N/D  Directories
  2383. ______________________________________________________________________
  2384. Qmodem  directories  are  defined  in  the  Directories  Menu.    When
  2385. selected, the following window is displayed:
  2386.  
  2387. ╔════════════════════════════════════════════════╗
  2388.  
  2389. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2390. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  2391. ╘══════════════╒═════════════════════════════════════════════╕══════════F1 Help╛
  2392.                │ Upload       ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  2393.                │ Download     Z:\DL\░░░░░░░░░░░░░░░░░░░░░░░░ │
  2394.                │ Scripts      Z:\SCRIPTS\░░░░░░░░░░░░░░░░░░░ │
  2395.                ╘══════════════════════════════════════F1 Help╛
  2396.  
  2397. ╚════════════════════════════════════════════════╝
  2398.  
  2399.  
  2400.  
  2401. 26                                            Qmodem Operations Manual
  2402.  
  2403.  
  2404.  
  2405.  
  2406.  
  2407. Note that  all the  fields in this menu are added and edited manually,
  2408. following the procedures outlined earlier in this section.
  2409.  
  2410. U.   Upload                                                (Alt-N/D/U)
  2411.  
  2412.      The default  drive:\directory which  will be  searched for  files
  2413.      which are uploaded to the remote computer.  If this field is left
  2414.      blank, the  current directory  will be  searched.  This directory
  2415.      will be  displayed in  the file  allocation window  following the
  2416.      PgUp upload  command.   If you  exchange many  files with  remote
  2417.      computers, you  may want to assign the same directory for uploads
  2418.      and downloads.
  2419.  
  2420.  
  2421. D.   Download                                              (Alt-N/D/D)
  2422.  
  2423.      The default  drive:\directory into which downloaded files will be
  2424.      stored.   If this  field is left blank, files will be stored into
  2425.      the current  directory.   This directory will be displayed in the
  2426.      file allocation  window following  the PgDn download command.  If
  2427.      you exchange  many files  with remote  computers, you may want to
  2428.      assign the same directory for uploads and downloads.
  2429.  
  2430.  
  2431. S.   Scripts                                               (Alt-N/D/S)
  2432.  
  2433.      The drive:\directory  path which  will be searched for all Qmodem
  2434.      script files.   If  this  directory  is  not  defined  correctly,
  2435.      scripts files will not be accessible.
  2436.  
  2437.    NOTE:  The  above   are  all   DEFAULT  directories.    Uploads,
  2438.           downloads, and  script  commands  all  use  the  standard
  2439.           Qmodem  File   Allocation  Window   (FAW)  which   allows
  2440.           directory  specifications   to  be   changed  before  the
  2441.           commands are executed.
  2442.  
  2443.  
  2444.  
  2445.  
  2446.  
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459. Version 4.0                                                         27
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465. Alt-N/H  Host
  2466. ______________________________________________________________________
  2467. If you  plan on  using Qmodem's  Host Mode,  be sure  to read the Host
  2468. documentation section  completely.   When the Host option is selected,
  2469. the following menu is displayed:
  2470.  
  2471. ╔════════════════════════════════════════════════╗
  2472.  
  2473. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2474. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  2475. ╘═════════════╒═══════════════════════════════════════════════════╕═════F1 Help╛
  2476.               │ Type of System     OPEN                           │
  2477.               │ Download Dir       C:\QMODEM\HOSTDIR\░░░░░░░░░░░░ │
  2478.               │ Upload Dir         C:\QMODEM\HOSTDIR\░░░░░░░░░░░░ │
  2479.               │ Maximum Time       60                             │
  2480.               │ DOS Password       PASSWORD                       │
  2481.               │ Shutdown Password  PASSWORD                       │
  2482.               │ Init Command       ATE1Q0V1X1S0=0^M░░░░░░░░░░░░░░ │
  2483.               │ Answer Command     ATA^M░░░░░░░░░                 │
  2484.               │ OK Message         OK░░░░░░░░░░░░                 │
  2485.               │ Ring Detect        RING░░░░░░░░░░                 │
  2486.               │ Busy Command       ATM0H1^M░░░░░░                 │
  2487.               ╘════════════════════════════════════════════F1 Help╛
  2488.  
  2489. ╚═══════════════════════════════════════════════╝
  2490.  
  2491. The Qmodem  Host mode  operates  as  a  mini  Bulletin  Board  System,
  2492. complete with  electronic messages,  sysop  chat,  and  file  transfer
  2493. capabilities.
  2494.  
  2495. T.   Type of System                                        (Alt-N/H/T)
  2496.  
  2497.      Default:  OPEN
  2498.      
  2499.      Press [ENTER]  to cycle  through the  3 possible  settings: OPEN,
  2500.      CLOSED and CALLBACK.
  2501.      
  2502.      An OPEN  system is  easiest to  setup and  get running.   As  new
  2503.      callers log  in, the  Host Password  (.PWD) file is automatically
  2504.      updated.  All new users are assigned a security level of "0".
  2505.      
  2506.      In a  CLOSED system, authorized callers' names and passwords must
  2507.      be defined  in the Password file before callers are given access.
  2508.      If the  caller's name  is not  on file,  the Host issues a polite
  2509.      "Sorry, this is a closed system" message and hangs up.
  2510.      
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517. 28                                            Qmodem Operations Manual
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.      CALLBACK mode  is similar  to a CLOSED system in that it requires
  2524.      the callers'  name and  passwords to be in the Password file.  In
  2525.      addition, CALLBACK  requires that  the callers' DATA Phone Number
  2526.      also be  on file.  When callers log on successfully, they will be
  2527.      instructed to  hang up  and place  their modem  into  Auto-Answer
  2528.      mode.   The Host  will then  hang up  and  immediately  dial  the
  2529.      caller's data  phone number.   CALLBACK  is a  very secure system
  2530.      since it  insures that  all communications  originate from  known
  2531.      locations.
  2532.  
  2533.  
  2534. D.   Download Dir                                          (Alt-N/H/D)
  2535.  
  2536.      This is  the Host  Mode equivalent of the Qmodem default download
  2537.      directory.  Any valid DOS directory may be entered in this field.
  2538.      All files  available for download from the Host must be stored in
  2539.      this directory.  The Host "File List" command will produce a list
  2540.      of the files in this directory.
  2541.      
  2542.      Example:  C:\QMODEM\HOSTDIR\
  2543.  
  2544.  
  2545. U.   Upload Dir                                            (Alt-N/H/U)
  2546.  
  2547.      This  is  the  Host  equivalent  of  the  Qmodem  default  upload
  2548.      directory.  Any valid DOS directory may be entered in this field.
  2549.      All uploaded  files will  be stored  into this directory.  If the
  2550.      Upload and  Download directories are the same, all uploaded files
  2551.      become public and are available for download.
  2552.      
  2553.      Example:  C:\QMODEM\HOSTDIR\UPLOADS\
  2554.  
  2555.  
  2556. M.   Maximum Time                                          (Alt-N/H/M)
  2557.  
  2558.      This defines  the maximum time allowed per call, in minutes.  The
  2559.      default value is 60 minutes, or 1 hour.  The maximum time allowed
  2560.      is 999 minutes (16 hours 39 minutes).
  2561.  
  2562.  
  2563. O.   DOS Password                                          (Alt-N/H/O)
  2564.  
  2565.      The password  required to   "Drop  to DOS"  from remote.  If this
  2566.      field is left blank, all callers may drop to DOS.
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575. Version 4.0                                                         29
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581. S.   Shutdown Password                                     (Alt-N/H/S)
  2582.  
  2583.      Used to  restrict access  to the  Host Shutdown  command.   It is
  2584.      strongly recommended  that the  Shutdown Password  be unique  and
  2585.      given out  only to  your most  trusted friends.   If  the correct
  2586.      password is  entered, the  system hangs  up immediately  and Host
  2587.      mode is terminated.
  2588.  
  2589.  
  2590. I.   Init Command                                          (Alt-N/H/I)
  2591.  
  2592.      Default:  ATE1Q0V1X1S0=0^M
  2593.      
  2594.      This command  string is  sent to the modem each time Host mode is
  2595.      initialized and  after each call.  The Host Initialization string
  2596.      should set  Verbose result  codes (Q0V1),  no Auto-Answer (S0=0),
  2597.      and on  hook waiting  for call (H0).  The commands in parentheses
  2598.      are valid for Hayes and compatible modems.
  2599.  
  2600.  
  2601. A.   Answer Command                                        (Alt-N/H/A)
  2602.  
  2603.      Default:  ATA^M
  2604.      
  2605.      The Answer  Command string  is sent to the modem when an incoming
  2606.      call (RING)  is detected.   For  Hayes and compatible modems, use
  2607.      the  "ATA^M" command.
  2608.      
  2609.  
  2610. K.   OK Message                                            (Alt-N/H/K)
  2611.  
  2612.      Default:  OK
  2613.      
  2614.      The modem  returns an  "OK" message  when the  last  command  was
  2615.      received and  executed successfully.   For  Hayes and  compatible
  2616.      modems, use  "OK".   For modems which do not return a response to
  2617.      the Initialization command, leave this field blank.
  2618.      
  2619.  
  2620. R.   Ring Detect                                           (Alt-N/H/R)
  2621.  
  2622.      Default:  RING
  2623.      
  2624.      When an  incoming call  is detected  by the  modem, it returns  a
  2625.      special "Ring  Detect" message.  For Hayes and compatible modems,
  2626.      this is  the word  "RING".   When  the  ring  detect  message  is
  2627.      received, the Host sends the Answer Command to the modem.
  2628.  
  2629.  
  2630.  
  2631.  
  2632.  
  2633. 30                                            Qmodem Operations Manual
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639. B.   Busy Command                                          (Alt-N/H/B)
  2640.  
  2641.      This allows  you to  place the  modem Off-hook when you log in as
  2642.      the local  Sysop.   Your phone  line will  return a  busy  signal
  2643.      preventing callers from connecting to the host system.
  2644.  
  2645.    NOTE:  Qmodem does  not create subdirectories.  If you specified
  2646.           new subdirectories  for Uploads  and/or  Downloads,  make
  2647.           sure they exist before starting the Host.
  2648.  
  2649.  
  2650.  
  2651. Alt-N/P  Protocols
  2652. ______________________________________________________________________
  2653. When selecting the Protocols  option, the following menu is displayed:
  2654.  
  2655. ╔═══════════════════════════════════════════════╗
  2656.  
  2657. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2658. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  2659. ╘═════════════════════════════════╒═══════════════════╕═════════════════F1 Help╛
  2660.                                   │ 0 -  Zmodem       │
  2661.                                   │ 1 -  Qmail Zmodem │
  2662.                                   │ 2 -               │
  2663.                                   │ 3 -               │
  2664.                                   │ 4 -               │
  2665.                                   │ 5 -               │
  2666.                                   │ 6 -               │
  2667.                                   │ 7 -               │
  2668.                                   │ 8 -               │
  2669.                                   │ 9 -               │
  2670.                                   │ ASCII Options *  │
  2671.                                   ╘════════════F1 Help╛
  2672.  
  2673. ╚═══════════════════════════════════════════════╝
  2674.  
  2675. The Protocols  section  allows  you  to  customize  Qmodem  by  adding
  2676. additional external  transfer protocols.   These protocols can then be
  2677. called from  an upload  or download  and used as if it were built into
  2678. Qmodem!   The popular  Zmodem protocol ((c), Omen Technology) is shown
  2679. in the example above.
  2680.  
  2681. The ASCII Options are used for customizing the built-in ASCII transfer
  2682. protocol.
  2683.  
  2684.  
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691. Version 4.0                                                         31
  2692.  
  2693.  
  2694.  
  2695.  
  2696.  
  2697. Alt-N/P/x  Protocol Revisions
  2698. ______________________________________________________________________
  2699. External protocols  must be defined in numerical order; with no blanks
  2700. inbetween.   When selecting  a  number  from  0  to  9,  the  Protocol
  2701. Definition window will be displayed:
  2702.  
  2703. ╔════════════════════════════════════════════════╗
  2704.  
  2705. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2706. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  2707. ╘═════════════════════════════════╒═══════════════════╕═════════════════F1 Help╛
  2708.                                   │ 0 -  Zmodem       │
  2709.                              ╒═════════════════════════════════╕
  2710.                              │ Select character   Z            │
  2711.                              │ Protocol           Zmodem░░░░░░ │
  2712.                              │ Upload BAT         SZ.BAT░░░░░░ │
  2713.                              │ Download BAT       RZ.BAT░░░░░░ │
  2714.                              │ Filename Prompt    N            │
  2715.                              ╘══════════════════════════F1 Help╛
  2716.                                   │ 8 -               │
  2717.                                   │ 9 -               │
  2718.                                   │ ASCII Options *  │
  2719.                                   ╘════════════F1 Help╛
  2720.  
  2721. ╚════════════════════════════════════════════════╝
  2722.  
  2723. The following fields must be defined for each external protocol:
  2724.  
  2725. S.   Select Character                                    (Alt-N/P/x/S)
  2726.  
  2727.      The letter  or digit  used to  select this  protocol for  a  file
  2728.      transfer.   Characters A,C,F,G,O,R,X,  and Y   are  reserved  for
  2729.      Qmodem internal protocols.
  2730.  
  2731.  
  2732. P.   Protocol                                            (Alt-N/P/x/P)
  2733.  
  2734.      The written  name of  the protocol  as  it  will  appear  in  the
  2735.      upload/download Protocol Selection Window.
  2736.  
  2737.  
  2738. U.   Upload BAT                                          (Alt-N/P/x/U)
  2739.  
  2740.      The name of the upload batch file for the external protocol.
  2741.  
  2742.  
  2743. D.   Download BAT                                        (Alt-N/P/x/D)
  2744.  
  2745.      The name of the download batch file for the external protocol.
  2746.  
  2747.  
  2748.  
  2749. 32                                            Qmodem Operations Manual
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755. F.   Filename Prompt                                     (Alt-N/P/x/F)
  2756.  
  2757.      Specify "N" for external protocols which include filename as part
  2758.      of the  transferred data  (IE., Zmodem),  and "Y"  for  protocols
  2759.      which must know the name of the file being received.  When "Y" is
  2760.      specified, Qmodem  passes the filename to the download batch file
  2761.      as the third command-line parameter (%3).
  2762.  
  2763.    TIP:  Qmodem passes  the  COM  Speed,  Port,  and  the  optional
  2764.          Filename to  the protocol batch file as parameters %1, %2,
  2765.          and %3, respectively.
  2766.  
  2767.  
  2768. Installing an external protocol.
  2769. ______________________________________________________________________
  2770. Because of  their changing  nature, and  to insure  that you  use  the
  2771. latest versions,  external protocol  drivers are no longer distributed
  2772. with Qmodem.   We  will use  Zmodem as  an example  to illustrate  the
  2773. various steps required in installing an external protocol.
  2774.  
  2775. Files you will need:
  2776.  
  2777.   1. The DSZ.COM program.  Usually found on most BBS's as DSZmmdd.ARC.
  2778.      "mmdd"  represent   the  release  date  of  the  current  release
  2779.      (WARNING: in  the case of DSZ, new releases can appear on a daily
  2780.      or weekly  basis; the  one you  downloaded today  may be obsolete
  2781.      tomorrow).
  2782.   
  2783.   2. The  RZ.BAT   (Receive  Zmodem)   batch  file,  used  for  Zmodem
  2784.      downloads.
  2785.   
  2786.   3. The SZ.BAT (Send Zmodem) batch file, used for Zmodem downloads.
  2787.  
  2788.   4. The  DSZ.DOC documentation  file without  which you will be lost,
  2789.      and with which you will be utterly confused.
  2790.  
  2791. You may  now   select the  first unassigned entry in the Alt-N/P menu.
  2792. The Revise  window will  be displayed.   Edit  the fields  to make the
  2793. above example.
  2794.  
  2795. Next, edit  the RZ.BAT  file as  follows, using  the  Qmodem  Internal
  2796. Editor (or your own favorite):
  2797.  
  2798. ╔════════════════════════════════════════════════╗
  2799.  
  2800. Echo OFF
  2801. Echo *** QMODEM Function Keys Disabled During DSZ Operation! ***
  2802. DSZ port %2 handshake slow rz c:\qmodem\download
  2803.  
  2804. ╚════════════════════════════════════════════════╝
  2805.  
  2806.  
  2807. Version 4.0                                                         33
  2808.  
  2809.  
  2810.  
  2811.  
  2812.  
  2813. The download  directory specified in the DSZ command line should match
  2814. the download  directory defined  in the Alt-N/D/D setup menu.  If none
  2815. is specified, the file will be saved in the current directory.
  2816.  
  2817. Next, edit the SZ.BAT file as follows:
  2818.  
  2819. ╔════════════════════════════════════════════════╗
  2820.  
  2821. Echo OFF
  2822. Echo *** QMODEM Function Keys Disabled During DSZ Operation! ***
  2823. DSZ port %2 handshake slow sz %3
  2824.  
  2825. ╚════════════════════════════════════════════════╝
  2826.  
  2827. One last  step...   Make sure  the DSZ.COM  program is  in your Qmodem
  2828. directory or  in a  directory in  the DOS PATH= so it is accessible by
  2829. Qmodem.  That's it!
  2830.  
  2831. Installation of  other external  protocols is  similar.   Refer to the
  2832. protocol documentation  to insure  that upload and download batch file
  2833. commands are coded correctly.
  2834.  
  2835.  
  2836.  
  2837. Alt-N/P/A  ASCII Options
  2838. ______________________________________________________________________
  2839. The ASCII Options are used to define the parameter which control ASCII
  2840. (text) file  transfers.   The ASCII option features separate menus for
  2841. Receive and Transmit operations:
  2842.  
  2843. ╔════════════════════════════════════════════════╗
  2844.  
  2845. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2846. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  2847. ╘═════════════════════════════════╒═══════════════════╕═════════════════F1 Help╛
  2848.                                   │ 0 -  Zmodem       │
  2849.                                   │ 1 -  Qmail Zmodem │
  2850.                                   │ 2 -               │
  2851.                                   │ 3 -               │
  2852.                                   │ 4 -               │
  2853.                                   │ 5 -               │
  2854.                                   │ 6 -               │
  2855.                                   │ 7 -            ╒════════════╕
  2856.                                   │ 8 -            │ Receive   │
  2857.                                   │ 9 -            │ Transmit  │
  2858.                                   │ ASCII Options *╘═════F1 Help╛
  2859.                                   ╘════════════F1 Help╛
  2860.  
  2861. ╚════════════════════════════════════════════════╝
  2862.  
  2863.  
  2864.  
  2865. 34                                            Qmodem Operations Manual
  2866.  
  2867.  
  2868.  
  2869.  
  2870.  
  2871. Alt-N/P/A/R  ASCII Receive
  2872. ______________________________________________________________________
  2873. When you  select the  ASCII Receive  option,  the  following  menu  is
  2874. displayed:
  2875.  
  2876. ╔════════════════════════════════════════════════╗
  2877.  
  2878. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2879. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  2880. ╘═════════════════════════════════╒═══════════════════╕═════════════════F1 Help╛
  2881.                                   │ 0 -  Zmodem       │
  2882.                                   │ 1 -  Qmail Zmodem │
  2883.                                   │ 2 -               │
  2884.                                   │ 3 -               │
  2885.                                   │ 4 -               │
  2886.                                   │ 5 -               │
  2887.                                   │ 6 -               │
  2888.                                   │ 7 -            ╒════════════╕
  2889.                                   │ 8 -            │ Receive   │
  2890.                                   │ 9 -╒════════════════════════════════════╕
  2891.                                   │ ASC│ Use INPUT Translate Table   OFF    │
  2892.                                   ╘════│ Carriage Return Handling    NONE   │
  2893.                                        │ LineFeed Handling           NONE   │
  2894.                                        ╘═════════════════════════════F1 Help╛
  2895.  
  2896. ╚════════════════════════════════════════════════╝
  2897.  
  2898. U.   Use INPUT Translate Table                         (Alt-N/P/A/R/U)
  2899.      
  2900.      When ON,  all incoming  data will  be  translated.    Translation
  2901.      criteria are  defined in  the   Alt-A INPUT  Translate Table.  If
  2902.      this parameter is OFF, the data is not translated and is received
  2903.      exactly as it was sent.
  2904.  
  2905.  
  2906. C.   Carriage Return Handling                          (Alt-N/P/A/R/C)
  2907.  
  2908.      This option has three setting:
  2909.      
  2910.      NONE      No special treatment of the CR. (Decimal 13)
  2911.      STRIP     All CR's are removed from the file as it is saved.
  2912.      ADD LF    Adds a trailing LF (Decimal 10) after each CR.
  2913.  
  2914.      
  2915.  
  2916.  
  2917.  
  2918.  
  2919.  
  2920.  
  2921.  
  2922.  
  2923. Version 4.0                                                         35
  2924.  
  2925.  
  2926.  
  2927.  
  2928.  
  2929. L.   LineFeed Handling                                 (Alt-N/P/A/R/L)
  2930.  
  2931.      This option also has three settings:
  2932.      
  2933.      NONE      No special treatment of LF. (Decimal 10)
  2934.      STRIP     All LF's are removed from the file as it is saved.
  2935.      ADD CR    Adds a CR (Decimal 13) before each LF.
  2936.  
  2937.  
  2938. Example:   Lines of  data sent  by a  Mainframe end  with a  single LF
  2939. (linefeed).   You wish  to save the data to a file and edit it with an
  2940. editor or  word processor.   In this case, a carriage return character
  2941. should be  added in  front of  each trailing  LF and the ASCII receive
  2942. options should be set as follows:
  2943.  
  2944.  
  2945. ╔══════════════════════════════════════════════════╗
  2946.  
  2947.        ╒════════════════════════════════════╕
  2948.        │ Use INPUT Translate Table   OFF    │
  2949.        │ Carriage Return Handling    NONE   │
  2950.        │ LineFeed Handling           ADD CR │
  2951.        ╘═════════════════════════════F1 Help╛
  2952.  
  2953. ╚══════════════════════════════════════════════════╝
  2954.  
  2955.  
  2956. If the  text lines  ended with  CR/CR/LF, you  would set the following
  2957. options:
  2958.  
  2959.  
  2960. ╔══════════════════════════════════════════════════╗
  2961.  
  2962.        ╒════════════════════════════════════╕
  2963.        │ Use INPUT Translate Table   OFF    │
  2964.        │ Carriage Return Handling    STRIP  │
  2965.        │ LineFeed Handling           ADD CR │
  2966.        ╘═════════════════════════════F1 Help╛
  2967.  
  2968. ╚══════════════════════════════════════════════════╝
  2969.  
  2970.  
  2971. The above  options will  remove (strip)  both incoming  CR, and  add a
  2972. leading CR to each LF (exactly what the doctor ordered!)
  2973.  
  2974.  
  2975.  
  2976.  
  2977.  
  2978.  
  2979.  
  2980.  
  2981. 36                                            Qmodem Operations Manual
  2982.  
  2983.  
  2984.  
  2985.  
  2986.  
  2987. Alt-N/P/A/T  ASCII Transmit
  2988. ______________________________________________________________________
  2989. When the  ASCII Transmit  options is  selected, the  following menu is
  2990. displayed:
  2991.  
  2992. ╔════════════════════════════════════════════════╗
  2993.  
  2994. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  2995. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  2996. ╘═════════════════════════════════╒═══════════════════╕═════════════════F1 Help╛
  2997.                                   │ 0 -  Zmodem       │
  2998.                                   │ 1 -  Qmail Zmodem │
  2999.                                   │ 2 -               │
  3000.                                   │ 3 -               │
  3001.                                   │ 4 -               │
  3002.                                   │ 5 -               │
  3003.                                   │ 6 -               │
  3004.                                   │ 7 -            ╒════════════╕
  3005.                                   │ 8 -            │ Receive   │
  3006.                                   │ 9 -            │ Transmit  │
  3007.                                   │ ASC╒═════════════════════════════════════╕
  3008.                                   ╘════│ Use OUTPUT Translate Table   OFF    │
  3009.                                        │ Carriage Return Handling     NONE   │
  3010.                                        │ LineFeed Handling            NONE   │
  3011.                                        │ Pacing Speed                 0      │
  3012.                                        │ pAcing Character             NONE   │
  3013.                                        │ Blank Line Expansion         ON     │
  3014.                                        │ End of Line Character        10     │
  3015.                                        ╘══════════════════════════════F1 Help╛
  3016.  
  3017. ╚════════════════════════════════════════════════╝
  3018.  
  3019. U.   Use OUTPUT Translate Table                        (Alt-N/P/A/T/U)
  3020.      
  3021.      When set  to  ON,  outgoing  data  is  translated.    Translation
  3022.      criteria are  defined in  the Alt-A OUTPUT Translate table.  When
  3023.      OFF, the data is not translated and is sent "as is".
  3024.  
  3025.  
  3026. C.   Carriage Return Handling                          (Alt-N/P/A/T/C)
  3027.  
  3028.      This option has three setting:
  3029.      
  3030.      NONE      No special treatment of the CR. (Decimal 13)
  3031.      STRIP     All CR's are removed while the file is transmitted.
  3032.      ADD LF    Adds a trailing LF (Decimal 10) after each CR.
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039. Version 4.0                                                         37
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045. L.   LineFeed Handling                                 (Alt-N/P/A/T/L)
  3046.  
  3047.      This option also has three settings:
  3048.      
  3049.      NONE      No special treatment of the LF. (Decimal 10)
  3050.      STRIP     All LF's are removed while the file is transmitted.
  3051.      ADD CR    Adds a leading CR (Decimal 13) before each LF.
  3052.  
  3053.  
  3054. P.   Pacing Speed                                      (Alt-N/P/A/T/P)
  3055.  
  3056.      Pacing controls  the speed  of the  data transfer  to the  remote
  3057.      computer.  If the remote computer is able to receive text data at
  3058.      high speed,  this value  should be  zero, the  default.   If  you
  3059.      experience problems sending ASCII data without any pacing, insert
  3060.      a delay  between each  transmitted character  by  increasing  the
  3061.      Pacing Speed  value.   Pacing Speed  is expressed in milliseconds
  3062.      (1000 = 1 second).  25 milliseconds (1/40 sec) is a good starting
  3063.      value.
  3064.  
  3065.  
  3066. A.   pAcing Character                                  (Alt-N/P/A/T/A)
  3067.  
  3068.      If a  pacing character  is specified, Qmodem will wait until that
  3069.      character is  received before it sends the next line of text.  If
  3070.      NONE is  specified, the  transfer will not pause between lines of
  3071.      text.   Use this  only when  you are  sure that the remote system
  3072.      always prompts for each line of text with the same character.  To
  3073.      change the  setting, use  the Up  and Down  arrow  keys  to  move
  3074.      through the  ASCII character  set  and  press  [ENTER]  when  the
  3075.      desired character is displayed.
  3076.      
  3077.      In some  cases, you  may  want  to  control  transmission  pacing
  3078.      yourself.   Qmodem allows  you to  do just  that by  setting  the
  3079.      pacing character  to ASCII  255 (or any other character which you
  3080.      know will  not be  received by  the other  system).   When Qmodem
  3081.      pauses after  sending each  line, press  any key to send the next
  3082.      line.   Repeat this  procedure until  the entire  file  has  been
  3083.      transmitted.
  3084.      
  3085.      See also: End Of Line Character.
  3086.  
  3087.  
  3088. B.   Blank Line Expansion                              (Alt-N/P/A/T/B)
  3089.  
  3090.      This option controls whether or not blank lines (lines which only
  3091.      contain a  CR and/or  LF and no other text) should be expanded to
  3092.      include at least one SPACE as a leading character.
  3093.      
  3094.  
  3095.  
  3096.  
  3097. 38                                            Qmodem Operations Manual
  3098.  
  3099.  
  3100.  
  3101.  
  3102.  
  3103.    NOTE:  Many online  systems and BBS's interpret a blank line, as
  3104.           defined above,  as an end-of-message indication.  If your
  3105.           text contains   blank lines, the first one will cause the
  3106.           other system  to stop  receiving message  text, issue  an
  3107.           end-of-message prompt,  and wait  for your  input.  Since
  3108.           additional   message    text   is   still   being   sent,
  3109.           unpredictable results  can occur.    Setting  Blank  Line
  3110.           Expansion ON will eliminate this problem.
  3111.      
  3112.  
  3113. E.   End Of Line Character                             (Alt-N/P/A/T/E)
  3114.  
  3115.      Often referred  to as  EOL, this  is the character that your text
  3116.      editor uses  as the  last character  in a line.  Most often (IE.,
  3117.      with the  Qmodem Internal  Editor), this  is a LineFeed character
  3118.      (ASCII 10), which is usually preceded by a Carriage Return (ASCII
  3119.      13).   If your text editor or word processor uses a different EOL
  3120.      character, you should define it here.
  3121.      
  3122.    NOTE:  Setting this  value incorrectly  results in  a  jerky  or
  3123.           incomplete transmission.
  3124.  
  3125. Example:
  3126.  
  3127. You want  to upload  a message  to your local PCBoard BBS system.  The
  3128. message text  was created  with the  Qmodem Internal  Editor  (a  good
  3129. combination).
  3130.  
  3131. PCBoard starts each message line with a colon ":", which we can use as
  3132. the pacing  character.   PCBoard also  terminates message entry when a
  3133. blank line is received.  To successfully upload the message, the ASCII
  3134. transmit options should be set as follows:
  3135.  
  3136. ╔════════════════════════════════════════════════╗
  3137.  
  3138.          ╒═════════════════════════════════════╕
  3139.          │ Use OUTPUT Translate Table   OFF    │
  3140.          │ Carriage Return Handling     NONE   │
  3141.          │ LineFeed Handling            NONE   │
  3142.          │ Pacing Speed                 0      │
  3143.          │ pAcing Character             : 58   │
  3144.          │ Blank Line Expansion         ON     │
  3145.          │ End of Line Character        10     │
  3146.          ╘══════════════════════════════F1 Help╛
  3147.  
  3148. ╚════════════════════════════════════════════════╝
  3149.  
  3150.  
  3151.  
  3152.  
  3153.  
  3154.  
  3155. Version 4.0                                                         39
  3156.  
  3157.  
  3158.  
  3159.  
  3160.  
  3161. Alt-N/F  Files
  3162. ______________________________________________________________________
  3163. Qmodem requires  access to  specific files  and programs which must be
  3164. defined in the Files menu:
  3165.  
  3166. ╔════════════════════════════════════════════════╗
  3167.  
  3168. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3169. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  3170. ╘════════════════════════════╒══════════════════════════════════════════════╕lp╛
  3171.                              │ Online Help   C:\QMODEM\QMODEM.HLP░░░░░░░░░░ │
  3172.                              │ Screen Dump   C:\QMODEM\SCREEN.DMP░░░░░░░░░░ │
  3173.                              │ Capture       C:\QMODEM\CAPTURE.CAP░░░░░░░░░ │
  3174.                              │ Log           C:\QMODEM\QMODEM.LOG░░░░░░░░░░ │
  3175.                              │ BackScroll    C:\QMODEM\BACKSCRL.SAV░░░░░░░░ │
  3176.                              │ View          L ░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  3177.                              ╘═══════════════════════════════════════F1 Help╛
  3178.  
  3179. ╚════════════════════════════════════════════════╝
  3180.  
  3181. O.   Online Help                                           (Alt-N/F/O)
  3182.  
  3183.      This is  the Qmodem  online help file, distributed as part of the
  3184.      Qmodem program.  The default name for this file is QMODEM.HLP.
  3185.      
  3186.      Example: C:\QMODEM\QMODEM.HLP
  3187.  
  3188.  
  3189. S.   Screen Dump                                           (Alt-N/F/S)
  3190.  
  3191.      This is  the file to which Qmodem screen dumps (Alt-T) are saved.
  3192.      Qmodem automatically  appends the  .DMP suffix  to the  specified
  3193.      filename if one is not included.
  3194.      
  3195.      Example: C:\QMODEM\SCREEN.DMP
  3196.  
  3197.  
  3198. C.   Capture                                               (Alt-N/F/C)
  3199.  
  3200.      This is  the file  where session  data is  recorded when  Capture
  3201.      (Ctrl-Home) is  ON.  Qmodem automatically appends the .CAP suffix
  3202.      to the filename if one was not specified.
  3203.      
  3204.      Example: C:\QMODEM\CAPTURE.CAP
  3205.  
  3206.  
  3207.  
  3208.  
  3209.  
  3210.  
  3211.  
  3212.  
  3213. 40                                            Qmodem Operations Manual
  3214.  
  3215.  
  3216.  
  3217.  
  3218.  
  3219. L.   Log                                                   (Alt-N/F/L)
  3220.  
  3221.      This is  the file where Qmodem logs all activity.  The Qmodem Log
  3222.      can be  started automatically (Alt-N/O/T/U  -- aUto Log Start) or
  3223.      explicitly with  the Alt-0 command.  Qmodem automatically appends
  3224.      the .LOG suffix to the filename if one was not specified.
  3225.      
  3226.      Example: C:\QMODEM\QMODEM.LOG
  3227.  
  3228.  
  3229. B.   Backscroll                                            (Alt-N/F/B)
  3230.  
  3231.      This is  the file  to which  the scroll-back  buffer  is  copied.
  3232.      Qmodem does not assign a default suffix to this file.
  3233.      
  3234.      Example: C:\QMODEM\SCROLL.SAV
  3235.  
  3236.  
  3237. V.   View                                                  (Alt-N/F/V)
  3238.  
  3239.      This is the path and filename of the program which is executed by
  3240.      the Alt-V  command.   Any valid program can be executed by Alt-V,
  3241.      making this a powerful function.
  3242.      
  3243.      Example:
  3244.  
  3245. ╔══════════════════════════════════════════════════╗
  3246.  
  3247.         │ View          C:\UTILITY\LIST ░░░░░░░░░░░░░░ │
  3248.         ╘═══════════════════════════════════════F1 Help╛
  3249.  
  3250. ╚══════════════════════════════════════════════════╝
  3251.  
  3252.  
  3253.      Two special keywords may also be specified as a View option: @FSE
  3254.      and @EDITOR.   If  @FSE if  specified, the Qmodem Internal Editor
  3255.      will be used for all file viewing and editing.
  3256.      
  3257.      Example:
  3258.  
  3259. ╔══════════════════════════════════════════════════╗
  3260.  
  3261.         │ View          @FSE ░░░░░░░░░░░░░░░░░░░░░░░░░ │
  3262.         ╘═══════════════════════════════════════F1 Help╛
  3263.  
  3264. ╚══════════════════════════════════════════════════╝
  3265.  
  3266.      
  3267.      The @EDITOR  keyword, if  specified, causes  the Qmodem  Internal
  3268.      Editor to be replaced with an external program of your choice.
  3269.      
  3270.  
  3271. Version 4.0                                                         41
  3272.  
  3273.  
  3274.  
  3275.  
  3276.  
  3277.      Example:
  3278.  
  3279. ╔══════════════════════════════════════════════════╗
  3280.  
  3281.         │ View          @EDITOR QEDIT ░░░░░░░░░░░░░░░░ │
  3282.         ╘═══════════════════════════════════════F1 Help╛
  3283.  
  3284. ╚══════════════════════════════════════════════════╝
  3285.  
  3286.      
  3287.      If "@EDITOR" is not specified, the Qmodem Internal Editor will be
  3288.      used for  internal editing  of scripts  or note files attached to
  3289.      phone book entries.
  3290.  
  3291.    NOTE:  The @EDITOR  and @FSE  commands should ALWAYS be followed
  3292.           by a space. (as shown in the above examples).
  3293.    
  3294.    NOTE:  Qmodem will  append new data to the screen dump, capture,
  3295.           log, and  back-scroll files  if they  exist.   If they do
  3296.           not, a  prompt for  their creation will be displayed when
  3297.           the corresponding  command is  issued.  File names may be
  3298.           changed when these recording features are invoked.
  3299.  
  3300.  
  3301.  
  3302. Alt-N/O  Options
  3303. ______________________________________________________________________
  3304.  
  3305. ╔════════════════════════════════════════════════╗
  3306.  
  3307. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3308. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  3309. ╘═════════════════════════════════════════════════════╒══════════════════════╕p╛
  3310.                                                       │ Toggles *           │
  3311.                                                       │ Memory              │
  3312.                                                       │ Sounds *            │
  3313.                                                       │ Delays *            │
  3314.                                                       │ Emulation      ANSI  │
  3315.                                                       │ Characters *        │
  3316.                                                       ╘═══════════════F1 Help╛
  3317.  
  3318. ╚════════════════════════════════════════════════╝
  3319.  
  3320. The  Options  Menus  define  run-time  parameters  which  control  the
  3321. operation of  Qmodem.    These  parameters  fall  into  the  following
  3322. categories:
  3323.  
  3324.  
  3325.  
  3326.  
  3327.  
  3328.  
  3329. 42                                            Qmodem Operations Manual
  3330.  
  3331.  
  3332.  
  3333.  
  3334.  
  3335. T.   Toggles                                               (Alt-N/O/T)
  3336.      
  3337.      "Feature Switches" which control video mode, audible alarm, modem
  3338.      handshaking, etc...  This option has a detailed sub-menu.
  3339.      
  3340.      
  3341. M.   Memory                                                (Alt-N/O/M)
  3342.      
  3343.      Qmodem Memory allocations. This option has a detailed sub-menu.
  3344.      
  3345.      
  3346. S.   Sounds                                                (Alt-N/O/S)
  3347.      
  3348.      Allows Fine-tuning  of event-specific  beeps  and  bells.    This
  3349.      option has a detailed sub-menu.
  3350.      
  3351.      
  3352. D.   Delays                                                (Alt-N/O/D)
  3353.      
  3354.      Allows setting the window display and file transfer delay values.
  3355.      This option has a detailed sub-menu.
  3356.      
  3357.      
  3358. E.   Emulation                                             (Alt-N/O/E)
  3359.      
  3360.      The default  terminal emulation  mode used  by Qmodem.   When the
  3361.      cursor is  located in this field, pressing [ENTER] cycles through
  3362.      available emulation  modes: TTY,  ANSI and  VT100.   TTY and ANSI
  3363.      modes are  the most  common.   VT100 emulation may be required if
  3364.      connecting to  a Host  Mainframe computer requiring this terminal
  3365.      type.
  3366.      
  3367.      
  3368. C.   Characters                                            (Alt-N/O/C)
  3369.      
  3370.      The  character  values  used  as  field  delimiters  or  function
  3371.      indicators in  the various screens and in the Qmodem status line.
  3372.      This option has a detailed sub-menu.
  3373.  
  3374.  
  3375.  
  3376.  
  3377.  
  3378.  
  3379.  
  3380.  
  3381.  
  3382.  
  3383.  
  3384.  
  3385.  
  3386.  
  3387. Version 4.0                                                         43
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393. Alt-N/O/T  Options Toggles
  3394. ______________________________________________________________________
  3395. Qmodem toggles are 16 parameters which can be set ON or OFF to control
  3396. specific aspects of Qmodem operation:
  3397.  
  3398. ╔════════════════════════════════════════════════╗
  3399.  
  3400. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3401. │ Colors *    Modem   Dirs *   Host *   Protocols *   Files    Options    Exit │
  3402. ╘═════════════════════════════════════════════════════╒══════════════════════╕p╛
  3403.                                                       │ Toggles *           │
  3404.                                                    ╒════════════════════════╕│
  3405.                                                    │ Xon/Xoff flow      ON  ││
  3406.                                                    │ bios Video mode    OFF ││
  3407.                                                    │ PCjr mode          OFF ││
  3408.                                                    │ Beeps & Bells      OFF ││
  3409.                                                    │ Linefeed after CR  OFF │╛
  3410.                                                    │ ANSI music player  OFF │
  3411.                                                    │ CTS signal         ON  │
  3412.                                                    │ CTS when Writing   ON  │
  3413.                                                    │ Redial sets baud   OFF │
  3414.                                                    │ DEL/^H Backspace   OFF │
  3415.                                                    │ aUto start log     ON  │
  3416.                                                    │ Snow checking      OFF │
  3417.                                                    │ Growing windows    OFF │
  3418.                                                    │ sTatus line        ON  │
  3419.                                                    │ FIFO during Shell  OFF │
  3420.                                                    │ Keypad emulation   ON  │
  3421.                                                    ╘═════════════════F1 Help╛
  3422.  
  3423. ╚════════════════════════════════════════════════╝
  3424.  
  3425. X.   Xon/Xoff                                            (Alt-N/O/T/X)
  3426.  
  3427.      Xon/Xoff is  a software  flow control protocol used during normal
  3428.      text and  ASCII transmissions.   This  toggle can also be changed
  3429.      from terminal mode with the Alt-Z command.
  3430.      
  3431.      XOFF and  XON are    ^S  (Ctrl-S)  and  ^Q  (Ctrl-Q)  characters,
  3432.      respectively.  Most BBS and mainframe systems use XOFF and XON as
  3433.      a method  of pacing  text data  transmissions.   If the  XON/XOFF
  3434.      toggle is  ON,   Qmodem will  send the  XOFF character  when  its
  3435.      receive buffer is full, and will display the following message on
  3436.      the Status line:
  3437.      
  3438.           " Buffer FULL - Keyboard Input Suspended - Please Wait "
  3439.  
  3440.      As text  is displayed,  the receive buffer empties and can accept
  3441.      more data.   Qmodem  then  sends  the  XON  character  to  resume
  3442.      transmission and restores the normal status line.
  3443.      
  3444.  
  3445. 44                                            Qmodem Operations Manual
  3446.  
  3447.  
  3448.  
  3449.  
  3450.  
  3451.  
  3452. V.   BIOS Video                                          (Alt-N/O/T/V)
  3453.  
  3454.      When OFF,  Qmodem writes directly to screen memory, which results
  3455.      in extremely  fast screen displays.  When ON, all screen displays
  3456.      are performed  via calls  to the  system's ROM  BIOS,  and screen
  3457.      displays are much slower.  BIOS Video mode must be ON when Qmodem
  3458.      operates  under  multi-tasking  software  such  as  DoubleDOS  or
  3459.      Windows/386.
  3460.      
  3461.    TIP:  Qmodem is  fully DESQview  "aware".   When running  Qmodem
  3462.          under DESQview,  set BIOS  Video mode to "NO".  With other
  3463.          multi-tasking programs,  you should  experiment with  this
  3464.          setting to determine the best operating mode.
  3465.  
  3466.  
  3467. P.   PCjr mode                                           (Alt-N/O/T/P)
  3468.  
  3469.      This toggle  should be  ON when  running Qmodem  on an  IBM  PCjr
  3470.      computer.   When ON, this causes Qmodem to access the serial port
  3471.      with slower BIOS routines.
  3472.      
  3473.      In PCjr  mode, the  maximum serial speed is limited to 4800 baud.
  3474.      Speeds settings  greater than  4800 will be ignored when selected
  3475.      with the Alt-P command.
  3476.  
  3477.  
  3478. B.   Beeps & Bells                                       (Alt-N/O/T/B)
  3479.  
  3480.      Activates or deactivates the Qmodem audible signals produced when
  3481.      connecting to  another computer,  or at  the completion of a file
  3482.      transfer.  This toggle can be changed with the Alt-B command.
  3483.  
  3484.  
  3485. L.   Linefeed after CR                                   (Alt-N/O/T/L)
  3486.  
  3487.      Setting this  ON causes  Qmodem to  add a linefeed (LF) character
  3488.      after every  carriage return (CR) characters.  This may be needed
  3489.      if text  lines wrap  around and  get over-written  on the screen.
  3490.      This toggle can be changed via the Shift-Tab command.
  3491.  
  3492.  
  3493. A.   ANSI Music                                          (Alt-N/O/T/A)
  3494.  
  3495.      Setting this ON will permit Qmodem to play ANSI music if found in
  3496.      the incoming  data stream.   This  toggle can  be changed via the
  3497.      Alt-M command.
  3498.  
  3499.  
  3500.  
  3501.  
  3502.  
  3503. Version 4.0                                                         45
  3504.  
  3505.  
  3506.  
  3507.  
  3508.  
  3509. C.   CTS/RTS Signal                                      (Alt-N/O/T/C)
  3510.  
  3511.      When set  to ON,  Qmodem implements  hardware handshaking between
  3512.      the modem  and computer.   This  is required  for high-speed  and
  3513.      error-correcting modems.   Since  additional signals are required
  3514.      to implement  hardware handshaking,  make sure that your external
  3515.      modem cable (if any) supports all the required signal lines.
  3516.      
  3517.  
  3518. W.   CTS when Writing                                    (Alt-N/O/T/W)
  3519.  
  3520.      This  toggles  determines  CTS/RTS  hardware  flow  control  when
  3521.      writing to disk during a file download.  When this toggle is OFF,
  3522.      Qmodem drops  the RTS  signal while writing data to the disk, and
  3523.      re-establishes RTS  after the  data has  been  written,  and  the
  3524.      transmission resumes.
  3525.      
  3526.      When this toggle is ON, the RTS signal remains on during the disk
  3527.      writes.   This allows  Qmodem to  overlap disk  and  serial  port
  3528.      activity  while   downloading  data   on  systems  equipped  with
  3529.      hardware-handshaking modems  (IE, high-speed or MNP modems).  For
  3530.      this option  to work  properly, the Alt-N/O/T/T (CTS enable) flag
  3531.      must be ON.
  3532.      
  3533.      Normally, the  RTS (Request  To Send)  signal line is dropped low
  3534.      (turned off)  whenever a  block of data is being written to disk.
  3535.      This stops  the modem  from sending  data to  the computer during
  3536.      that time, which could cause data loss due to a missed interrupt.
  3537.   
  3538.    TIP:  If your  computer and  hard disk  are fast enough, you can
  3539.          gain a  small but measurable increase in download speed by
  3540.          using this option.
  3541.  
  3542.    CAUTION:  If you  are downloading  across a  network to  a  file
  3543.              server drive,  it is  strongly recommended that you DO
  3544.              NOT use this option.
  3545.      
  3546.  
  3547. R.   Redial Sets Baud Rate                               (Alt-N/O/T/R)
  3548.  
  3549.      When set  to ON,  Qmodem will  set the  serial port  speed to the
  3550.      connect speed  identified in  the modem's  CONNECT message.  When
  3551.      OFF, Qmodem  maintains the serial port speed defined in the phone
  3552.      book entry being dialed.
  3553.      
  3554.  
  3555.  
  3556.  
  3557.  
  3558.  
  3559.  
  3560.  
  3561. 46                                            Qmodem Operations Manual
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567. D.   Del/^H Backspace                                    (Alt-N/O/T/D)
  3568.  
  3569.      This toggle  defines the  character which  is generated  when the
  3570.      [BACKSPACE] key  is pressed.   When OFF, a ^H (standard backspace
  3571.      character) is  generated.   When ON,  a DEL  is generated.   This
  3572.      toggle can be changed via the Alt-1 command.
  3573.      
  3574.    TIP:  Pressing [Ctrl-Backspace]  will send  the reverse  of this
  3575.          toggle.   For example,  if ON,  ^backspace will  send a ^H
  3576.          character.
  3577.  
  3578.  
  3579. U.   aUto Start Log                                      (Alt-N/O/T/U)
  3580.  
  3581.      When this toggle is ON, Qmodem will automatically record activity
  3582.      in the  LOG file defined in Alt-N/F/L when first started.  If set
  3583.      to   OFF, activity  logging must  be started  explicitly with the
  3584.      Alt-0 command.
  3585.  
  3586.  
  3587. S.   Snow Checking                                       (Alt-N/O/T/S)
  3588.  
  3589.      Older CGA  display adapters  (and some  CGA clones)   may exhibit
  3590.      "snow" when  video memory  is accessed.  If this is the case, set
  3591.      this toggle  to ON.   Qmodem  will use  a different memory access
  3592.      method which  may help alleviate the problem.  This toggle is not
  3593.      used if your system is equipped with an MDA, EGA, or VGA display.
  3594.      
  3595.    TIP:  While running  under DESQview, you can set this to OFF for
  3596.          slightly improved display speed.
  3597.  
  3598.  
  3599. G.   Growing Windows                                     (Alt-N/O/T/G)
  3600.  
  3601.      Controls the  method used to display windows on screen.  When ON,
  3602.      windows will  "grow" or  "explode" onto  the screen.   When  OFF,
  3603.      windows will pop onto the screen instantly.
  3604.  
  3605.  
  3606. T.   sTatus Line                                         (Alt-N/O/T/T)
  3607.  
  3608.      This toggle  controls displaying  of the  status line   (the last
  3609.      line of  the physical  screen).  When OFF, the Qmodem status line
  3610.      is not  displayed and  the last  screen  line  is  available  for
  3611.      incoming text display.
  3612.      
  3613.    NOTE:  The Screen will clear when this  toggle is changed.
  3614.  
  3615.  
  3616.  
  3617.  
  3618.  
  3619. Version 4.0                                                         47
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625. F.   FIFO during Shell                                   (Alt-N/O/T/F)
  3626.  
  3627.      This toggle only applies to systems with serial adapters equipped
  3628.      with a  16550 or 16550A UART, which feature a First-In, First-Out
  3629.      (FIFO) data buffer.  When ON, Qmodem leaves the 16550/16550A UART
  3630.      in FIFO mode.  When OFF, Qmodem disables the FIFO buffer, and the
  3631.      16550x UART runs in 16450 compatibility mode.
  3632.      
  3633.      Some external  transfer protocols  may require  this toggle to be
  3634.      OFF for  correct operation.   If  your external  transfer program
  3635.      aborts immediately  upon startup,  try setting  this to  OFF  and
  3636.      execute the external again.
  3637.      
  3638.    NOTE:  This toggle only works if Qmodem detects the 16550/16550A
  3639.           UART in your system at startup.
  3640.           In beta  tests  of  Qmodem  4.0,  FIFO  buffer  operation
  3641.           improved performance  significantly  in  systems  running
  3642.           under DesqView and equipped with high-speed modems.
  3643.  
  3644.    CAUTION:  Problems may  occur when  upgrading from  an  8250  or
  3645.              16450 UART  to the  newer 16550/16550A/16550AN  chips.
  3646.              Although they are pin-compatible, the 16550 series are
  3647.              a superset  of the  older chips and require additional
  3648.              connections not  used in  the older  components.  Some
  3649.              serial adapters  made specifically for the older chips
  3650.              may not  be able  to operate  properly with  the newer
  3651.              chips.
  3652.  
  3653. K.   Keypad emulation                                    (Alt-N/O/T/K)
  3654.  
  3655.      This toggle  controls numeric  keypad operation when the keyboard
  3656.      NumLock toggle  is ON.   When  Keypad emulation is ON, pressing a
  3657.      cursor key  will send  the correct  cursor control  sequence,  as
  3658.      defined in  the Terminal  Emulation section  of the manual.  When
  3659.      set to OFF, the keypad functions normally.
  3660.      
  3661.    NOTE:  Refer to  the Alt-G  Emulations sections  for a  complete
  3662.           description of the keypad.
  3663.  
  3664.  
  3665.  
  3666.  
  3667.  
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677. 48                                            Qmodem Operations Manual
  3678.  
  3679.  
  3680.  
  3681.  
  3682.  
  3683. Alt-N/O/M  Options Memory
  3684. ______________________________________________________________________
  3685. Qmodem allows  user-specified memory  allocations  for  five  specific
  3686. storage areas: The scroll-back buffer, variables used by script files,
  3687. the Qmodem  internal editor,  the download  buffers  and  the  Overlay
  3688. memory allocation.   These  values can  be  changed  to  meet  varying
  3689. requirements.
  3690.  
  3691. ╔════════════════════════════════════════════════╗
  3692.  
  3693. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3694. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  3695. ╘═════════════════════════════════════════════════════╒══════════════════════╕p╛
  3696.                                                       │ Toggles *           │
  3697.                                                       │ Memory              │
  3698.                                                  ╒════════════════════════════╕
  3699.                                                  │ Lines of Scroll-back  50   │
  3700.                                                  │ Script variables (K)  5    │
  3701.                                                  │ Editor memory (K)     20   │
  3702.                                                  │ Download Buffer       8    │
  3703.                                                  │ Overlay Buffer (K)    20   │
  3704.                                                  ╘═════════════════════F1 Help╛
  3705.  
  3706. ╚════════════════════════════════════════════════╝
  3707.  
  3708. L.   Lines of Scroll-back                                (Alt-N/O/M/L)
  3709.  
  3710.      Memory is  allocated as  the maximum number of lines which can be
  3711.      stored  in   the  scrollback   buffer.     Each  screen  requires
  3712.      approximately 1,900 characters of memory.  For example, to recall
  3713.      the last  480 lines  (20 screens) would require approximately 38k
  3714.      of memory.
  3715.  
  3716.  
  3717. S.   Script Variables                                    (Alt-N/O/M/S)
  3718.  
  3719.      While executing  a script,  memory  must  be  available  for  the
  3720.      storage of  variables. Requirements  vary, based  on the needs of
  3721.      the scripts  being executed.  A reasonable starting value is 3 or
  3722.      4K.  If scripts are NOT used, no memory need be allocated.
  3723.  
  3724.  
  3725. E.   Editor Memory                                       (Alt-N/O/M/E)
  3726.  
  3727.      The Qmodem internal editor stores the entire file being edited in
  3728.      memory for  performance reasons.   Memory  requirements depend on
  3729.      the size  of largest file to be edited.  If only small files will
  3730.      be edited, a good starting value is 6 to 8K.
  3731.  
  3732.  
  3733.  
  3734.  
  3735. Version 4.0                                                         49
  3736.  
  3737.  
  3738.  
  3739.  
  3740.  
  3741. D.   Download Buffer                                     (Alt-N/O/M/D)
  3742.  
  3743.      Downloaded data  is stored  into the  download buffer.   When the
  3744.      buffer is  full, it is copied to disk.  Each buffer is 128 bytes,
  3745.      and from  8 to 240 buffers can be allocated.  When receiving to a
  3746.      fast hard disk or to a RAM disk, use the smallest allocation (8).
  3747.      A low  allocation when  downloading to  a  diskette  will  reduce
  3748.      transmission efficiency.   Large allocation are at the expense of
  3749.      system RAM memory.
  3750.  
  3751.  
  3752. O.   Overlay Buffer                                      (Alt-N/O/M/O)
  3753.  
  3754.      Available ONLY  in the  overlay version  of Qmodem.   The default
  3755.      value is  20K.   Increasing this  value will reduce disk activity
  3756.      during the  loading of  program overlay  files at  the expense of
  3757.      memory.
  3758.      
  3759.    TIP:  If Qmodem  seems too  slow, this value should be increased
  3760.          in 5-10K increments until execution speed is satisfactory.
  3761.  
  3762. Since  the   above  memory  allocations  cannot  vary  during  program
  3763. execution, a  change  cannot  go  into  effect  without  stopping  and
  3764. restarting Qmodem.   After  such a  change has  been made,  a  warning
  3765. message to  that effect  will be  displayed.   Upon exiting  the menu,
  3766. Qmodem will  also issue  an exit  prompt to  remind the  user of  this
  3767. condition.
  3768.  
  3769. If memory  changes were  made while online, Qmodem can be stopped with
  3770. the Alt-X/X  command and  restarted in  order to  continue the  online
  3771. connection.
  3772.  
  3773.    NOTE:  Memory available  to Qmodem may vary greatly depending on
  3774.           the operating  system's own  requirements,  and  resident
  3775.           programs (TSRs)  loaded. If  Qmodem  is  unable  to  find
  3776.           sufficient memory,  it will  re-allocate it using a best-
  3777.           fit algorithm  and will  issue a  warning message to that
  3778.           effect.
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793. 50                                            Qmodem Operations Manual
  3794.  
  3795.  
  3796.  
  3797.  
  3798.  
  3799. Alt-N/O/S  Options Sounds
  3800. ______________________________________________________________________
  3801.  
  3802. ╔════════════════════════════════════════════════╗
  3803.  
  3804. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3805. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  3806. ╘═════════════════════════════════════════════════════╒══════════════════════╕p╛
  3807.                                                       │ Toggles *           │
  3808.                                                       │ Memory              │
  3809.                                                       │ Sounds *            │
  3810.                                                       │╒══════════════════════╕
  3811.                                                       ││ Connect tones       │
  3812.                                                       ││ Upload tone     200  │
  3813.                                                       ╘│ Download tone   200  │
  3814.                                                        ╘═══════════════F1 Help╛
  3815.  
  3816. ╚════════════════════════════════════════════════╝
  3817.  
  3818. Qmodem can  generate various  sounds to signal a successful connect or
  3819. the completion  of a  file  transfer.    Whether  or  not  sounds  are
  3820. generated is  controlled by  the Alt-N/O/T/B  toggle, or  the    Alt-B
  3821. command in  terminal mode.  These sounds  can  be  customized  in  the
  3822. Options Sounds menu:
  3823.  
  3824. C.   Connect Tones                                       (Alt-N/O/S/C)
  3825.  
  3826.      This multi-note jingle has its own custom menu.
  3827.  
  3828.  
  3829. U.   Upload tone                                         (Alt-N/O/S/U)
  3830. D.   Download tone                                       (Alt-N/O/S/D)
  3831.  
  3832.      A single  beep will  be produced  at the  completion of each file
  3833.      transfer.   The frequency  of the sound can be changed.  A sample
  3834.      beep will  be heard after each change.  The default frequency for
  3835.      the file transfer completion tones is 1200 cycles.
  3836.  
  3837.  
  3838.  
  3839.  
  3840.  
  3841.  
  3842.  
  3843.  
  3844.  
  3845.  
  3846.  
  3847.  
  3848.  
  3849.  
  3850.  
  3851. Version 4.0                                                         51
  3852.  
  3853.  
  3854.  
  3855.  
  3856.  
  3857. Alt-N/O/S/C  Options Sounds Connect tones
  3858. ______________________________________________________________________
  3859.  
  3860. ╔════════════════════════════════════════════════╗
  3861.  
  3862. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3863. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  3864. ╘═════════════════════════════════════════════════════╒══════════════════════╕p╛
  3865.                                                       │ Toggles *           │
  3866.                                                       │ Memory              │
  3867.                                                       │ Sounds *            │
  3868.                                                       │╒══════════════════════╕
  3869.                                                       ││ Connect tones       │
  3870.                                                       ││ Uplo╒═══════════╕00  │
  3871.                                                       ╘│ Down│ 1 -  123  │00  │
  3872.                                                        ╘═════│ 2 -  144  │Help╛
  3873.                                                              │ 3 -  165  │
  3874.                                                              ╘════F1 Help╛
  3875.  
  3876. ╚════════════════════════════════════════════════╝
  3877.  
  3878. Qmodem produces  a 3-note  jingle following  a successful  connection.
  3879. The default  frequencies for  the three notes are 1200, 1400, and 1600
  3880. cycles.
  3881.  
  3882. 1.   First Note                                        (Alt-N/O/S/C/1)
  3883. 2.   Second Note                                       (Alt-N/O/S/C/2)
  3884. 3.   Third Note                                        (Alt-N/O/S/C/3)
  3885.  
  3886.      These can  be changed to suit your taste.  All 3 notes are played
  3887.      following each  change.   To change  a value,  type  the  desired
  3888.      number, type in the new value, and press [ENTER].
  3889.  
  3890.  
  3891.  
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897.  
  3898.  
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904.  
  3905.  
  3906.  
  3907.  
  3908.  
  3909. 52                                            Qmodem Operations Manual
  3910.  
  3911.  
  3912.  
  3913.  
  3914.  
  3915. Alt-N/O/D  Options Delays
  3916. ______________________________________________________________________
  3917. Delay values affect the timing of certain Qmodem operations:
  3918.  
  3919. ╔════════════════════════════════════════════════╗
  3920.  
  3921. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3922. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  3923. ╘═════════════════════════════════════════════════════╒══════════════════════╕p╛
  3924.                                                       │ Toggles *           │
  3925.                                                       │ Memory              │
  3926.                                                       │ Sounds *            │
  3927.                                                       │ Delays *            │
  3928.                                                       │╒════════════════════╕│
  3929.                                                       ││ Status window  120 ││
  3930.                                                       ╘│ File transfers 10  │╛
  3931.                                                        ╘═════════════F1 Help╛
  3932.  
  3933. ╚════════════════════════════════════════════════╝
  3934.  
  3935. S.   Status Windows                                      (Alt-N/O/D/S)
  3936.  
  3937.      Most toggles  or immediate  commands have  an accompanying window
  3938.      showing the  change in Qmodem's status.  The value in this field,
  3939.      expressed in  hundredths of  a second,  controls the  duration of
  3940.      time these status windows are displayed.
  3941.      
  3942.      The default is 300, for a 3 second duration.
  3943.      
  3944.  
  3945. F.   File Transfers                                      (Alt-N/O/D/F)
  3946.  
  3947.      File transfer errors such as Short/Long blocks can occur on high-
  3948.      speed, buffered  modems when the COM port rate is fixed at a high
  3949.      value.   Adding a  file transfer  delay of  up to  20 seconds (or
  3950.      more, depending  on the  system you  are communicating with) will
  3951.      correct this problem.
  3952.      
  3953.    NOTE:  This should  be set  to a  non-zero value  any  time  the
  3954.           serial port  baud rate  exceeds the  actual connect  baud
  3955.           rate.
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962.  
  3963.  
  3964.  
  3965.  
  3966.  
  3967. Version 4.0                                                         53
  3968.  
  3969.  
  3970.  
  3971.  
  3972.  
  3973. Alt-N/O/C  Options Characters
  3974. ______________________________________________________________________
  3975.  
  3976. ╔════════════════════════════════════════════════╗
  3977.  
  3978. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  3979. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  3980. ╘═════════════════════════════════════════════════════╒══════════════════════╕p╛
  3981.                                                       │ Toggles *           │
  3982.                                                       │ Memory              │
  3983.                                                       │ Sounds *            │
  3984.                                                       │ Delays *            │
  3985.                                                       │ Emulation      ANSI  │
  3986.                                                       │ Characters *        │
  3987.                                                   ╒════════════════════════════╕
  3988.                                                   │ Date Separation      / 47  │
  3989.                                                   │ Time Separation      : 58  │
  3990.                                                   │ Beeps & Bells        b 98  │
  3991.                                                   │ ANSI Music           B 66  │
  3992.                                                   │ Status Line Filler   ▒ 176 │
  3993.                                                   │ Phone Book Tag       √ 251 │
  3994.                                                   │ Notes Tag            ≡ 240 │
  3995.                                                   ╘═════════════════════F1 Help╛
  3996.  
  3997. ╚════════════════════════════════════════════════╝
  3998.  
  3999. Special  characters   are  used   as  field   separators  or  function
  4000. indicators:
  4001.  
  4002. To change a separator or indicator value, select the desired character
  4003. and press  the Up  or Down cursor key to cycle through other available
  4004. character values.   When  the desired  character is  displayed,  press
  4005. [ENTER].
  4006.  
  4007. To return a character to its default value, press [ESC].
  4008.  
  4009.  
  4010. D.   Date Separation                                     (Alt-N/O/C/D)
  4011.  
  4012.      Default:  Forward slash " / 47 "
  4013.      
  4014.      This is  the character  that separates  the day,  month and  year
  4015.      fields in Date related variables.  Dates read as MM/DD/YY.
  4016.      
  4017.    TIP:  Setting this  to " - 45 " allows the script variable $DATE
  4018.          to be used as part of a filename.
  4019.      
  4020.  
  4021.  
  4022.  
  4023.  
  4024.  
  4025. 54                                            Qmodem Operations Manual
  4026.  
  4027.  
  4028.  
  4029.  
  4030.  
  4031. T.   Time Separation                                     (Alt-N/O/C/T)
  4032.  
  4033.      Default:  Colon  " : 58 "
  4034.      
  4035.      This is  the character  that separates  the  hours,  minutes  and
  4036.      seconds in Time related variables.  Time reads as HH:MM:SS.
  4037.      
  4038.      
  4039. B.   Beeps & Bells                                       (Alt-N/O/C/B)
  4040.  
  4041.      Default:  Single note " (ASCII 13) 13 "
  4042.      
  4043.      This also  happens to  be the  Decimal  representation  of  a  CR
  4044.      (carriage return)  so it  cannot be accurately represented in the
  4045.      Documentation.   This is the character used in the Status line to
  4046.      show that the "Beeps & Bells" is toggled ON.
  4047.      
  4048.    TIP:  You may  want to  change  this  to  another  character  to
  4049.          prevent problems with the DOS Print Screen function.
  4050.  
  4051.  
  4052. A.   ANSI Music                                          (Alt-N/O/C/A)
  4053.  
  4054.      Default:  Double note " (ASCII 14) 14 "
  4055.      
  4056.      This is  the character  used in  the status line to show that the
  4057.      "ANSI Music" is toggled ON.
  4058.      
  4059.    TIP:  You may  want to  change  this  to  another  character  to
  4060.          prevent problems  with the  PrtSc function.    The  double
  4061.          musical  note   character  causes   Epson  and  compatible
  4062.          printers to switch to  compressed print mode.
  4063.  
  4064.  
  4065. S.   Status Line Filler                                  (Alt-N/O/C/S)
  4066.  
  4067.      Default:  Hash block " ░ 176 "
  4068.      
  4069.      This is  the character  used as  an area  separator in the Status
  4070.      line.
  4071.      
  4072.      
  4073. P.   Phone Book Tag                                      (Alt-N/O/C/P)
  4074.  
  4075.      Default:  Check mark " √ 251 "
  4076.      
  4077.      This character  is used  in the Alt-D Phone Book to indicate that
  4078.      an entry has been tagged for dialing or other functions.
  4079.      
  4080.  
  4081.  
  4082.  
  4083. Version 4.0                                                         55
  4084.  
  4085.  
  4086.  
  4087.  
  4088.  
  4089. N.   Notes Tag                                           (Alt-N/O/C/N)
  4090.  
  4091.      Default:  Triplet " ≡ 240 "
  4092.      
  4093.      This character  is used  in the Alt-D Phone Book to indicate that
  4094.      an entry has an attached Note file.
  4095.  
  4096.  
  4097.  
  4098. Alt-N/E  Exit
  4099. ______________________________________________________________________
  4100. You should  always exit  the Setup  Menu with  this option if you want
  4101. changes to be saved in the Qmodem configuration file.
  4102.  
  4103. ╔════════════════════════════════════════════════╗
  4104.  
  4105. ╒═════════════════════════════════ Setup Menu ═════════════════════════════════╕
  4106. │ Colors *   Modem    Dirs *   Host *   Protocols *   Files *   Options   Exit │
  4107. ╘═══════════════════════════════════════════════════════════════╒══════════════╕
  4108.                                                                 │ Abandon      │
  4109.                                                                 │ Save Changes │
  4110.                                                                 ╘═══════F1 Help╛
  4111.  
  4112. ╚════════════════════════════════════════════════╝
  4113.  
  4114. The Configuration Exit Menu has two options:
  4115.  
  4116. A.   Abandon                                                 (Alt-N/A)
  4117.  
  4118.      Leave the  configuration  menu  and  do  not  save  the  changes.
  4119.      Pressing [ESC]  while at the main menu level has the same effect.
  4120.      This allows changes to be tested before being saved with Alt-N/S.
  4121.  
  4122.  
  4123. S.   Save Changes                                            (Alt-N/S)
  4124.  
  4125.      Save the changes to the QMODEM.CNF file and exit the menu.
  4126.  
  4127.    NOTE:  If changes  were made to Qmodem memory allocation an exit
  4128.           prompt will  be displayed  at this  time, indicating that
  4129.           Qmodem may be stopped and re-started to put these changes
  4130.           into effect.
  4131.  
  4132.  
  4133.  
  4134. Upgrading from a previous release
  4135. ______________________________________________________________________
  4136. Qmodem release  4.0 will  automatically convert  release 3.1  and 3.1a
  4137. versions of  the QMODEM.CNF  file and  initialize all  new fields  and
  4138. options.
  4139.  
  4140.  
  4141. 56                                            Qmodem Operations Manual
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147. There is  no direct  conversion procedure  available for  versions  of
  4148. Qmodem prior  to 3.1.   You must delete your QMODEM.CNF file and start
  4149. from scratch.
  4150.  
  4151. Following is a checklist of things you need to do:
  4152.  
  4153.  
  4154. Alt-N/C
  4155.  
  4156.      Select one  of the  pre-defined color sets.  Customization can be
  4157.      done later.
  4158.  
  4159.  
  4160. Alt-N/M/M
  4161.  
  4162.      Check ALL  modem  commands  and  replace  the  "{"  (left  brace)
  4163.      characters with the "^M" combination.  The "{" is no longer valid
  4164.      as a carriage return.
  4165.  
  4166.  
  4167. Alt-N/M/M/R
  4168.  
  4169.      Check this field.
  4170.  
  4171.  
  4172. Alt-N/D
  4173.  
  4174.      Select each  entry one  at  a  time  and  press  [ENTER]  without
  4175.      changing the  field.   This will add a trailing "\" if it did not
  4176.      already exist.
  4177.  
  4178.  
  4179. Alt-N/F
  4180.  
  4181.      Select each  entry one  at  a  time  and  press  [ENTER]  without
  4182.      changing the field.
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  
  4188.  
  4189.  
  4190.  
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196.  
  4197.  
  4198.  
  4199. Version 4.0                                                         57
  4200.  
  4201.  
  4202.  
  4203.  
  4204.  
  4205. Alt-N/E/S
  4206.  
  4207.      You must  Exit and  Save for  the QMODEM.CNF  file to be updated.
  4208.      You will then be presented with the following prompt:
  4209.  
  4210. ╔════════════════════════════════════════════════╗
  4211.  
  4212.            ╒═════════════════════ Warning! ═════════════════════╕
  4213.            │ Memory requirements changed.  Do you want to Exit  │
  4214.            │ and restart to put them in effect ? [Y/N/X] _      │
  4215.            ╘════════════════════════════════════════════F1 Help═╛
  4216.  
  4217. ╚════════════════════════════════════════════════╝
  4218.  
  4219.      Reply "Y"  to update  QMODEM.EXE with the new memory settings and
  4220.      insure that  the QMODEM.EXE and the QMODEM.CNF files match.  This
  4221.      will also terminate Qmodem and return you to the DOS prompt.
  4222.  
  4223. You are  finished!   Now would  be a  good time  to browse through the
  4224. entire Alt-N Setup if you have not already done so.
  4225.  
  4226.  
  4227.  
  4228. Upgrading Qmodem support files
  4229. ______________________________________________________________________
  4230. Four more  conversions must  still be done before you start Qmodem 4.0
  4231. if you are upgrading from previous releases:
  4232.  
  4233.  
  4234. Phone Book Files
  4235. ______________________________________________________________________
  4236. All of  your Phone  Book files  need to be run through the UPGRADE.EXE
  4237. program located on the Utilities Disk.
  4238.  
  4239. UPGRADE is  a program  to convert  Qmodem 3.x FON files to the new 4.0
  4240. format.
  4241.  
  4242. The syntax is : UPGRADE filename
  4243.  
  4244. 'filename' must  be a  valid Qmodem  FON file  and can  reside in  any
  4245. subdirectory.
  4246.  
  4247. You will  be asked  to verify  the conversion  before you do something
  4248. that can  only be  regretted later (meaning, make SURE you really want
  4249. to).
  4250.  
  4251.  
  4252.  
  4253.  
  4254.  
  4255.  
  4256.  
  4257. 58                                            Qmodem Operations Manual
  4258.  
  4259.  
  4260.  
  4261.  
  4262.  
  4263. Examples:
  4264.  
  4265.   UPGRADE C:\QMODEM\QMODEM.FON
  4266.  
  4267.      This will convert the QMODEM.FON file in the C:\QMODEM directory.
  4268.  
  4269.   UPGRADE PCPURSUT.FON
  4270.  
  4271.      This will convert the PCPURSUT.FON file in the current directory.
  4272.  
  4273.  
  4274. Script Files
  4275. ______________________________________________________________________
  4276. The Script  files must  also be  updated before you execute them.  The
  4277. program SCRFIX.EXE on the Utilities Disk is for this purpose.
  4278.  
  4279. SCRFIX will make the following changes for you:
  4280.  
  4281. All WHEN and SEND command that use the "{" character will be converted
  4282. to the "^M" combination.
  4283.  
  4284. Leading periods  '.' are  no longer used as comment delimiters.  These
  4285. will be  changed to  the semicolon  ';' which  is now the only comment
  4286. delimiter.
  4287.  
  4288. SCRFIX will  not change  the UPLOAD  or DOWNLOAD commands, and they do
  4289. need to be changed before executing them.
  4290.  
  4291. The old syntax for an UL or DL was:
  4292.  
  4293. UPLOAD FILENAME PROTOCOL....
  4294.  
  4295. The new syntax is:
  4296.  
  4297. UPLOAD PROTOCOL FILENAME.
  4298.  
  4299. You need  to switch the first two parameters around for the UPLOAD and
  4300. DOWNLOAD commands to function as before.  Do NOT forget this step!
  4301.  
  4302.  
  4303. .KEY Files
  4304. ______________________________________________________________________
  4305. The Function  Key files  are now  larger in  4.0 than  in all previous
  4306. released.   Pre-4.0 files are straight ASCII text files with 40 lines.
  4307. The new  .KEY files  are still ASCII text, but contain an additional 8
  4308. lines, for a total of 48.
  4309.  
  4310.  
  4311.  
  4312.  
  4313.  
  4314.  
  4315. Version 4.0                                                         59
  4316.  
  4317.  
  4318.  
  4319.  
  4320.  
  4321. Qmodem will  convert the  KEY files  if it  detects the  older 40 line
  4322. versions, but the 8 new lines will be added to the END of the existing
  4323. 40.   At first, this sounds ok and you can relax...  Well, yes and no.
  4324. The new  format is based on 12 function keys per set with a total of 4
  4325. sets.   Adding the  8 new lines to the end will "push up" the existing
  4326. definitions.   Everything after  the first  10 definitions will appear
  4327. out of place.
  4328.  
  4329. To correct  for this,  simply edit  your .KEY files with an ASCII text
  4330. editor and add two blank lines every 10 lines.
  4331.  
  4332. Example:
  4333.  
  4334. Old .KEY file:
  4335.  
  4336.        F1   some text in here
  4337.        F2   some text in here
  4338.        F3   some text in here
  4339.        F4   some text in here
  4340.        F5   some text in here
  4341.        F6   some text in here
  4342.        F7   some text in here
  4343.        F8   some text in here
  4344.        F9   some text in here
  4345.        F10  some text in here
  4346.       SF1   some text in here
  4347.       SF2   some text in here
  4348.       SF3   some text in here
  4349.       SF4   some text in here
  4350.       SF5   some text in here
  4351.       SF6   some text in here
  4352.       SF7   some text in here
  4353.       SF8   some text in here
  4354.       SF9   some text in here
  4355.       SF10  some text in here
  4356.       CF1   some text in here
  4357.       CF2   some text in here
  4358.       CF3   some text in here
  4359.                 . . .
  4360.       AF10  some text in here
  4361.  
  4362.  
  4363. New .KEY file:
  4364.  
  4365.        F1   some text in here
  4366.        F2   some text in here
  4367.        F3   some text in here
  4368.        F4   some text in here
  4369.        F5   some text in here
  4370.        F6   some text in here
  4371.        F7   some text in here
  4372.  
  4373. 60                                            Qmodem Operations Manual
  4374.  
  4375.  
  4376.  
  4377.  
  4378.  
  4379.        F8   some text in here
  4380.        F9   some text in here
  4381.        F10  some text in here
  4382.        F11
  4383.        F12
  4384.       SF1   some text in here
  4385.       SF2   some text in here
  4386.       SF3   some text in here
  4387.       SF4   some text in here
  4388.       SF5   some text in here
  4389.       SF6   some text in here
  4390.       SF7   some text in here
  4391.       SF8   some text in here
  4392.       SF9   some text in here
  4393.       SF10  some text in here
  4394.       SF11
  4395.       SF12
  4396.       CF1   some text in here
  4397.       CF2   some text in here
  4398.       CF3   some text in here
  4399.                 . . .
  4400.       AF10  some text in here
  4401.       AF11
  4402.       AF12
  4403.  
  4404. By adding  2 blank lines after every 10 originals, the Shift, Ctrl and
  4405. Alt functions keys will remain the same as before.
  4406.  
  4407.  
  4408. The QMODEM.PRE File
  4409. ______________________________________________________________________
  4410. The Phone Book .PRE file has also been enhanced, but actually requires
  4411. no conversion.   It is mentioned here so you will be aware that it has
  4412. changed.
  4413.  
  4414. The old  format had  only 5 entries; +, -, !, @ and #.  The new format
  4415. has 10 entries; A through J.  These will be discussed in detail in the
  4416. Alt-D Dial command.
  4417.  
  4418.  
  4419.  
  4420.  
  4421.  
  4422.  
  4423.  
  4424.  
  4425.  
  4426.  
  4427.  
  4428.  
  4429.  
  4430.  
  4431. Version 4.0                                                         61
  4432.  
  4433.  
  4434.  
  4435.  
  4436.  
  4437. Command Line Parameters
  4438. ______________________________________________________________________
  4439. Certain  Qmodem  features  are  (out  of  necessity)  implemented  via
  4440. command-line parameters  and have  no terminal  mode or script command
  4441. equivalents.   Command line  parameters are not case-sensitive and may
  4442. be specified  in any order.  The following DOS command-line parameters
  4443. are valid when starting Qmodem:
  4444.  
  4445.   /AUTOZ
  4446.   
  4447.      Allows Qmodem  to immediately  begin a  Zmodem download  when the
  4448.      following conditions are detected:
  4449.      
  4450.      o    You have an external protocol defined as the letter "Z".
  4451.      o    The Zmodem "start header" has been received.
  4452.      
  4453.      This is  a  late  addition  to  the  program,  and  as  such,  no
  4454.      equivalent Setup  Toggle is included.  You must have this command
  4455.      line switch to activate "Auto-Zmodem Downloads."
  4456.   
  4457.   
  4458.   /F 
  4459.   
  4460.      Disables  the   FIFO  (First  In  First  Out)  buffer  in  recent
  4461.      16550/16550A UART serial processor chips.  Under some situations,
  4462.      the FIFO buffering mechanism may cause problems such as a locked-
  4463.      up computer  or loss  of data.   If these problems occur and your
  4464.      serial adapter  is equipped  with a  16550/16550A chip,  try this
  4465.      option.
  4466.   
  4467.   
  4468.   /HOST
  4469.   
  4470.      Will invoke the Host Mode immediately after startup.  This option
  4471.      can be  used to  start an  unattended Host  system as soon as the
  4472.      machine is  booted, by  adding the  Qmodem start  command to your
  4473.      AUTOEXEC.BAT file.
  4474.   
  4475.   
  4476.   /NOINT16     
  4477.   
  4478.      Disables the Qmodem Interrupt 16 trap which allows support of the
  4479.      enhanced 101-key  keyboard.   If your  system is equipped with an
  4480.      enhanced keyboard,  Qmodem normally  intercepts this interrupt so
  4481.      it can  process the F11 & F12 function keys.  If your computer is
  4482.      not equipped  with an  enhanced keyboard,  the interrupt  is  not
  4483.      trapped.
  4484.   
  4485.   
  4486.  
  4487.  
  4488.  
  4489. 62                                            Qmodem Operations Manual
  4490.  
  4491.  
  4492.  
  4493.  
  4494.  
  4495.   /NVR
  4496.   
  4497.      The acronym  for "No  Video Restore".   The initial video mode is
  4498.      saved  upon   startup  and   restored  when   Qmodem  terminates.
  4499.      Depending on  your hardware  or software  environment,  this  may
  4500.      produce undesirable  results.   Use  this  parameter  to  prevent
  4501.      Qmodem from restoring the initial video mode upon exit.
  4502.   
  4503.   
  4504.   /S=SCRIPT.SCR
  4505.   
  4506.      Autoexec  Script:   the  Qmodem   script  file   to  be  executed
  4507.      immediately upon startup.  The script file must be located in the
  4508.      script directory  as specified  in Alt-N/D/S  or in  the  current
  4509.      directory if the Alt-N/D/S field is blank.
  4510.   
  4511.   
  4512.   /VEGAVGA=[mode]
  4513.   
  4514.      An Option  Specific to  the VEGA  VGA  cards  from  Video-7  Inc.
  4515.      Allows setting  an alternate  text mode  (like 132x43)  from  the
  4516.      command line.
  4517.   
  4518.   
  4519.   /XT
  4520.   
  4521.      Instructs Qmodem to treat 80286 or 80386 equipped computers as if
  4522.      they were  running the  slower 8086/88  type CPU chip.  This will
  4523.      make uploads  somewhat slower,  but will  increase file  transfer
  4524.      reliability if the normal mode causes problems with lost data.
  4525.  
  4526.  
  4527.  
  4528.  
  4529.  
  4530.  
  4531.  
  4532.  
  4533.  
  4534.  
  4535.  
  4536.  
  4537.  
  4538.  
  4539.  
  4540.  
  4541.  
  4542.  
  4543.  
  4544.  
  4545.  
  4546.  
  4547. Version 4.0                                                         63
  4548.  
  4549.  
  4550.  
  4551.  
  4552.  
  4553. The Internal Editor
  4554. ______________________________________________________________________
  4555. The Internal  Editor is  a RAM-based  editor and  similar to the Turbo
  4556. Pascal &  SideKick editors.  If you are familiar with either of these,
  4557. you should  need little  help in using the Internal Editor (perhaps no
  4558. more than  a look at the Quick Command Reference); novices should read
  4559. on.
  4560.  
  4561.  
  4562. Entering and Editing Text
  4563. ______________________________________________________________________
  4564. You enter  text into  the Internal  Editor the same way you would on a
  4565. regular typewriter.   Most  keys behave  in the  same manner; pressing
  4566. [ENTER] terminates  a text  line, for  example.   But there  are  some
  4567. important differences too.
  4568.  
  4569. The cursor  always indicates  where new  text will be entered, and you
  4570. can move  the cursor  in a  number of  ways.  You can correct mistakes
  4571. easily using the Delete commands.  You can copy or move blocks of text
  4572. with the  Block commands.   You  can quickly  search the  file  for  a
  4573. particular text string with the Find commands.  And, most of the time,
  4574. you can "undo" a change with the Line Restore command.
  4575.  
  4576. Each command  (and there  are many  more) is  described briefly in the
  4577. following section.
  4578.  
  4579.  
  4580. Quick Command Reference
  4581. ______________________________________________________________________
  4582. Function                      Keystrokes
  4583. ______________________________________________________________________
  4584. Character left                Ctrl-S or Left arrow
  4585. Character right               Ctrl-D or Right arrow
  4586. Word left                     Ctrl-A or Ctrl-left arrow
  4587. Word right                    Ctrl-F or Ctrl-right arrow
  4588. Line up                       Ctrl-E or Up arrow
  4589. Line down                     Ctrl-X or Down arrow
  4590. Scroll up                     Ctrl-W
  4591. Scroll down                   Ctrl-Z
  4592. Page up                       Ctrl-R or PgUp
  4593. Page down                     Ctrl-C or PgDn
  4594. Beginning of file             Ctrl-QR or Ctrl-PgUp
  4595. End of file                   Ctrl-QC or Ctrl-PgDn
  4596. Beginning of line             Ctrl-QS or Home
  4597. End of line                   Ctrl-QD or End
  4598. Top of screen                 Ctrl-QE or Ctrl-Home
  4599. Bottom of screen              Ctrl-QX or Ctrl-End
  4600. Top of block                  Ctrl-QB
  4601. Bottom of block               Ctrl-QK
  4602. Jump to marker 0..3           Ctrl-Q0..Ctrl-Q3
  4603. Set marker 0..3               Ctrl-K0..Ctrl-K3
  4604.  
  4605. 64                                            Qmodem Operations Manual
  4606.  
  4607.  
  4608.  
  4609.  
  4610.  
  4611. Previous cursor position      Ctrl-QP
  4612. New line                      Ctrl-M or [ENTER]
  4613. Insert line                   Ctrl-N
  4614. Insert control character      Ctrl-P
  4615. Tab                           Ctrl-I or Tab
  4616. Delete current character      Ctrl-G or Del
  4617. Delete character left         Ctrl-H or Backspace
  4618. Delete word                   Ctrl-T
  4619. Delete to end of line         Ctrl-QY
  4620. Delete line                   Ctrl-Y
  4621. Find                          Ctrl-QF
  4622. Find-and-replace              Ctrl-QA
  4623. Find next                     Ctrl-L
  4624. Begin block                   Ctrl-KB or F7
  4625. End block                     Ctrl-KK or F8
  4626. Copy block                    Ctrl-KC
  4627. Move block                    Ctrl-KV
  4628. Delete block                  Ctrl-KY
  4629. Hide block                    Ctrl-KH
  4630. Mark current word as block    Ctrl-KT
  4631. Read block from file          Ctrl-KR
  4632. Write block to file           Ctrl-KW
  4633. Print block                   Ctrl-KP
  4634. Toggle insert mode            Ctrl-V or Ins
  4635. Toggle Autoindent mode        Ctrl-QI
  4636. Toggle fixed tabs             Ctrl-or
  4637. Restore line                  Ctrl-QL
  4638. Exit editor                   Ctrl-KD or F10 or Esc
  4639. ______________________________________________________________________
  4640.  
  4641.    NOTE:  When the  notation Ctrl-  precedes another  key, it means
  4642.           that you hold down the Ctrl key and press the second key.
  4643.           In the  case of  commands that  have a second letter (for
  4644.           example Ctrl-QP),  you hold  down  the  Ctrl  only  while
  4645.           pressing the first letter, not the second.
  4646.  
  4647.  
  4648. The Editing Screen
  4649. ______________________________________________________________________
  4650. The top  line in  the Edit  Window is  called the Edit Status Line and
  4651. should not  be confused  with the  global Status Line at the bottom of
  4652. the screen.   The Edit Status Line is inside the window and the global
  4653. is not.
  4654.  
  4655.  
  4656.  
  4657.  
  4658.  
  4659.  
  4660.  
  4661.  
  4662.  
  4663. Version 4.0                                                         65
  4664.  
  4665.  
  4666.  
  4667.  
  4668.  
  4669. The editor screen:
  4670.  
  4671. ╔════════════════════════════════════════════════╗
  4672.  
  4673. ╒══════════════════════════════ Full Screen Edit ══════════════════════════════╕
  4674. │^P    Line 14   Col 57  Insert Indent Tab E:SAMPLE.DOC                        │
  4675. │                                                                              │
  4676. │             This text was entered                                            │
  4677. │             with autoindent on                                               │
  4678. │                                                                              │
  4679. │                                                                              │
  4680. │The x's mark the tab stops with fixed tabs on:                                │
  4681. │        x       x       x       x       x       x       x       x       x     │
  4682. │Col:    9       17      25      33      41      49      57      65      73    │
  4683. │                                                                              │
  4684. │                                                                              │
  4685. │The x's mark the tab stops with "smart tabs" on:                              │
  4686. │x   x   x    x   x   x     x    x      x     x                                │
  4687. │                                                                              │
  4688. │To enter a ^B into the text, you press ^P and then ^B...                      │
  4689. │                                                                              │
  4690. │                                                                              │
  4691. ╘══════════════════════════════════════════════════════════════════════F1 Help═╛
  4692. ▒▒▒▒▒▒▒▒▒▒▒▒ F1-Help  F2-Save  F3-New  F9,ESC-Abort  F10-Save & Exit ▒▒▒▒▒▒▒▒▒▒▒
  4693.  
  4694. ╚════════════════════════════════════════════════╝
  4695.  
  4696. Command echo
  4697. When the first key of a command assigned to two keystrokes is pressed,
  4698. or when  the  Insert  control  character  command  (Ctrl-P,  like  the
  4699. example) is given, the keystroke is echoed in the upper left corner of
  4700. the window  on the  status line.  For example, if you start to enter a
  4701. command that  begins with  Ctrl-K (such as Ctrl-KK),  a ^K will appear
  4702. until the second keystroke is entered.
  4703.  
  4704. Line n
  4705. Shows the  number of  the line containing the cursor, counted from the
  4706. start of the file.
  4707.  
  4708. Col n
  4709. Shows the column number containing the cursor.
  4710.  
  4711. Insert
  4712. Indicates that  Insert mode is in effect.  Everything you type will be
  4713. inserted as opposed to possibly overwriting existing text.
  4714.  
  4715. Indent
  4716. Indicates  that  Autoindent  mode  is  in  effect.    Ctrl-QI  toggles
  4717. autoindent on and off.
  4718.  
  4719.  
  4720.  
  4721. 66                                            Qmodem Operations Manual
  4722.  
  4723.  
  4724.  
  4725.  
  4726.  
  4727. Tab
  4728. Indicates that fixed tabs (toggled with Ctrl-or) are in effect.
  4729.  
  4730. E:SAMPLE.DOC
  4731. The Drive,  name and extension of the file being edited.  Although the
  4732. editor accepts  path designations  (E:\QMODEM\SCRIPTS\SAMPLE.DOC), the
  4733. path name will not appear in the status line.
  4734.  
  4735.  
  4736. Basic Movement Commands
  4737. ______________________________________________________________________
  4738. The basic  movement commands  are those  that move  the cursor without
  4739. altering the text.  On IBM PCs an compatibles, the cursor can be moved
  4740. in one  of two  ways; with  a key  on the  numeric keypad  or  with  a
  4741. "control character."  For example, to move the cursor to the right one
  4742. character, you can press either the Right Arrow or Ctrl-D.
  4743.  
  4744. In the following listings, the key sequence on the left is the primary
  4745. key sequence  and the  one on  the right, if any, is the secondary key
  4746. sequence.   Either can  be modified  by running  the EDINSTAL  program
  4747. included on the Utilities Disk.
  4748.  
  4749.    NOTE:  The online  help for the Internal Editor will not reflect
  4750.           any changes  you make  to the  key sequences.   Only  the
  4751.           default installation is shown.
  4752.  
  4753.  
  4754. Character left                                    Ctrl-S or Left arrow
  4755. Moves the  cursor one  character to  the left.   This command does not
  4756. work across line breaks; when the cursor reaches column 1; it stops.
  4757.  
  4758. Character right                                  Ctrl-D or Right Arrow
  4759. Moves the  cursor one  character to  the right.  This command does not
  4760. work across  line breaks;  when the cursor reaches the right-hand edge
  4761. of the  text window,  the text  starts scrolling horizontally until it
  4762. reaches the  extreme right  edge of  the line  (column 248),  where it
  4763. stops.
  4764.  
  4765. Word left                                    Ctrl-A or Ctrl-Left arrow
  4766. Moves the  cursor to  the beginning  of the  word to  the left.   This
  4767. command works across line breaks.
  4768.  
  4769. Word right                                  Ctrl-F or Ctrl-Right arrow
  4770. Moves the  cursor to  the beginning  of the  word to  the right.  This
  4771. command works across line breaks.
  4772.  
  4773. Line up                                             Ctrl-E or Up arrow
  4774. Moves the  cursor to the line above.  If the cursor is on the top line
  4775. of the window, the window scrolls down one line.
  4776.  
  4777.  
  4778.  
  4779. Version 4.0                                                         67
  4780.  
  4781.  
  4782.  
  4783.  
  4784.  
  4785. Line down                                         Ctrl-X or Down arrow
  4786. Moves the  cursor to the line below.  If the cursor is on the next-to-
  4787. last line of the window, the window scrolls up one line.
  4788.  
  4789. Scroll up                                                       Ctrl-W
  4790. Scrolls up  toward the beginning of the file, one line at a time.  The
  4791. cursor remains on its line until it reaches the bottom of the window.
  4792.  
  4793. Scroll down                                                     Ctrl-Z
  4794. Scrolls down  towards the  end of  the file,  one line at a time.  The
  4795. cursor remains on its line until it reaches the top of the window.
  4796.  
  4797. Page up                                                 Ctrl-R or PgUp
  4798. Moves the cursor one page up with an overlap of one line.
  4799.  
  4800. Page down                                               Ctrl-C or PgDn
  4801. Moves the cursor one page down with an overlap of one line.
  4802.  
  4803. Beginning of file                                 Ctrl-QR or Ctrl-PgUp
  4804. Moves the cursor to the first character in the file.
  4805.  
  4806. End of file                                       Ctrl-QC or Ctrl-PgDn
  4807. Moves the cursor to the last character in the file.
  4808.  
  4809. Beginning of line                                      Ctrl-QS or Home
  4810. Moves the cursor to column 1 on the current line.
  4811.  
  4812. End of line                                             Ctrl-QD or End
  4813. Moves the  cursor to  the  end  of  the  current  line  (the  position
  4814. following the  last nonblank  character on the line).  Trailing blanks
  4815. are always removed from all lines to preserve space.
  4816.  
  4817. Top of screen                                     Ctrl-QE or Ctrl-Home
  4818. Moves the cursor to the top line of the text window.
  4819.  
  4820. Bottom of screen                                   Ctrl-QX or Ctrl-End
  4821. Moves the cursor to the bottom line of the text window.
  4822.  
  4823. Top of block                                                   Ctrl-QB
  4824. Moves the  cursor to  the position  of the block-begin marker set with
  4825. Ctrl-KB.   This command  works even  if the  block is  hidden with the
  4826. Ctrl-KH command or the block-end marker is not set.
  4827.  
  4828. Bottom of block                                                Ctrl-QK
  4829. Moves the  cursor to the position of the block-end marker set with the
  4830. Ctrl-QK command.  The command works even if the block is hidden or the
  4831. block-begin marker is not set.
  4832.  
  4833.  
  4834.  
  4835.  
  4836.  
  4837. 68                                            Qmodem Operations Manual
  4838.  
  4839.  
  4840.  
  4841.  
  4842.  
  4843. Previous cursor position                                       Ctrl-QP
  4844. Moves the cursor to the last position.  This command is useful to move
  4845. back to  the previous  position after  a Save,  a Find, or a Find-and-
  4846. replace operation.  (or in case you hit the wrong direction key!)
  4847.  
  4848. Jump to marker 0..3                                   Ctrl-Q0..Ctrl-Q3
  4849. Moves the  cursor to  one of  the four  invisible text markers created
  4850. with the Set marker command.  Ctrl-Q0 jumps to marker 0, Ctrl-Q1 jumps
  4851. to marker 1, and so on.  If the specified marker has not been set, the
  4852. cursor is not moved.
  4853.  
  4854. Set marker 0..3                                       Ctrl-K0..Ctrl-K3
  4855. Sets one  of the  four invisible  text markers  at the  current cursor
  4856. position.  Ctrl-K0 sets marker 0, Ctrl-K1 sets marker 1, and so on.
  4857.  
  4858.  
  4859. Insert and Delete Commands
  4860. ______________________________________________________________________
  4861. These commands let you insert and delete characters, words, and lines.
  4862. Two related  commands are  covered in  later  sections:  Restore  line
  4863. (Ctrl-QL) and Delete block (Ctrl-KY).
  4864.  
  4865. New line                                               Ctrl-M or Enter
  4866. In insert  mode, this  command inserts  a line  break at  the cursor's
  4867. current position.   If  Autoindent mode is in effect, the cursor moves
  4868. to the  next line  and to  the  same  column  as  the  first  nonblank
  4869. character in the previous line; otherwise, it moves to column 1 of the
  4870. new line.
  4871.  
  4872. In overwrite  mode, this  command moves  the cursor to column 1 of the
  4873. next line  without inserting a new line, whether Autoindent mode is in
  4874. effect or not.
  4875.  
  4876. Insert line                                                     Ctrl-N
  4877. Inserts a  line break  at the  cursor's position.  The cursor does not
  4878. move.
  4879.  
  4880. Insert control character                                        Ctrl-P
  4881. Allows control  characters to  be entered into the text.  For example,
  4882. pressing Ctrl-P  and then  Ctrl-C would  insert a Ctrl-C (^C) into the
  4883. text.  Control characters are displayed as capital letters in the same
  4884. color as the Status Line.
  4885.  
  4886. Tab                                                      Ctrl-I or Tab
  4887. Moves the  cursor to  the next  tab stop.  In Insert mode, any text to
  4888. the right of the cursor is moved along with it; in Overtype mode, only
  4889. the cursor  is moved.   The  location of  the next tab stop depends on
  4890. whether fixed tabs or smart tabs are in effect.
  4891.  
  4892.  
  4893.  
  4894.  
  4895. Version 4.0                                                         69
  4896.  
  4897.  
  4898.  
  4899.  
  4900.  
  4901. Delete current character                                 Ctrl-G or Del
  4902. Deletes the  character over the cursor and moves any characters to the
  4903. right of  the cursor  one position to the left.  This command does not
  4904. work across line breaks.
  4905.  
  4906. Delete character left                              Ctrl-H or Backspace
  4907. Moves the  cursor one  character to the left and deletes the character
  4908. positioned there.  Any characters to the right of the cursor are moved
  4909. one position  to the  left.   If the cursor is in column 1 at the time
  4910. the command  is  given,  the  invisible  end-of-line  marker  for  the
  4911. previous line is deleted instead, and the two lines are joined.
  4912.  
  4913. Delete word                                                     Ctrl-T
  4914. Deletes the  word to  the right  of the  cursor.   This command  works
  4915. across line breaks and thus may be used to remove line breaks.
  4916.  
  4917. Delete to end of line                                          Ctrl-QY
  4918. Deletes all  text from  the position  of the  cursor to the end of the
  4919. line.
  4920.  
  4921. Delete line                                                     Ctrl-Y
  4922. Deletes the line containing the cursor and moves any lines below it up
  4923. one line.   The cursor moves to column 1 of the next line.  You cannot
  4924. restore a deleted line, so use this with caution.
  4925.  
  4926.  
  4927. Block Commands
  4928. ______________________________________________________________________
  4929. A block  is any  arbitrarily defined, contiguous unit of text; a block
  4930. can be  as small as a single character or as large as the entire file.
  4931. Mark a block by placing a begin-block marker at the first character in
  4932. the desired  block and  an  end-block  marker  just  beyond  the  last
  4933. character.   Once marked,  the block can be copied, moved, deleted, or
  4934. written to a file.
  4935.  
  4936. Although marked  blocks are  normally highlighted,  the block  may  be
  4937. "hidden" (or made invisible) with the Hide block command.  Many of the
  4938. block-manipulation commands described here work only when the block is
  4939. being displayed.   The block-related cursor movement commands (Ctrl-QB
  4940. and Ctrl-QK,  described in the "Basic Movement Commands") work whether
  4941. the block is hidden or displayed.
  4942.  
  4943.  
  4944. Begin block                                              Ctrl-KB or F7
  4945. Marks the  beginning of  a block.  The marker itself is not visible on
  4946. the screen,  and the  block becomes  visible only  when the  end-block
  4947. marker is  set.   You can also use the  begin-block marker as an extra
  4948. text marker and jump directly to it with Ctrl-QB.
  4949.  
  4950.  
  4951.  
  4952.  
  4953. 70                                            Qmodem Operations Manual
  4954.  
  4955.  
  4956.  
  4957.  
  4958.  
  4959. End block                                                Ctrl-KK or F8
  4960. Marks the  end of a block.  Like the begin-block marker, the end-block
  4961. marker is invisible, and the block itself will not be displayed unless
  4962. both markers  are set.   You  can also  use the end-block marker as an
  4963. extra text marker and jump directly to it with Ctrl-QK.
  4964.  
  4965. Copy block                                                     Ctrl-KC
  4966. Creates a  copy of  a marked and displayed block at the current cursor
  4967. position.   The original  block is left unchanged, and the markers are
  4968. placed around the new copy of the block.
  4969.  
  4970. Move block                                                     Ctrl-KV
  4971. Moves a  marked and  displayed block  from its current position to the
  4972. cursor's position.   The  markers remain  around the  block at its new
  4973. position.
  4974.  
  4975. Delete block                                                   Ctrl-KY
  4976. Deletes a  marked and displayed block.  There is no command to restore
  4977. a deleted block, so use caution with this command.
  4978.  
  4979. Hide block                                                     Ctrl-KH
  4980. Toggles on  and off the visual marking of a block.  Block manipulation
  4981. commands work only when the block is being displayed.
  4982.  
  4983. Mark single word                                               Ctrl-KT
  4984. Marks a  single word as a block, combining the functions of the Begin-
  4985. block and  End-block commands.   If  the cursor is positioned within a
  4986. word, that  word will be marked.  If it is not within a word, then the
  4987. word to  the left  of the  cursor will  be marked.  And if there is no
  4988. word to  the right  of the  cursor, then  the word to the left will be
  4989. marked.
  4990.  
  4991. Read block from file                                           Ctrl-KR
  4992. Reads a file into the text at the cursor's current position exactly as
  4993. if it  were copied from another part of the text.  The file read in is
  4994. marked as  a block.   When  you use this command, you are prompted for
  4995. the name  of the  file to read.  If you have used this command earlier
  4996. in the  editing session, the last file name entered will be displayed.
  4997. You may enter a new file name, make minor changes to the one displayed
  4998. using the  Backspace key,  or accept it by pressing [ENTER].  The file
  4999. specified may  be any  legal file  name, including a drive and/or path
  5000. identifier.  Cancel the command by pressing Ctrl-U.
  5001.  
  5002.  
  5003.  
  5004.  
  5005.  
  5006.  
  5007.  
  5008.  
  5009.  
  5010.  
  5011. Version 4.0                                                         71
  5012.  
  5013.  
  5014.  
  5015.  
  5016.  
  5017. Write block to file                                            Ctrl-KW
  5018. Writes the  currently marked  block to  a file.   The  block  is  left
  5019. unchanged, and  the block  markers remain  in place.   You  are  first
  5020. prompted for  a filename.   The  file specified  can be any legal file
  5021. name, including  a drive  and/or path  identifier.   You should  avoid
  5022. using file  names with  the extension  .BAK, because this extension is
  5023. used by  the Internal  Editor when creating backup files.  If the file
  5024. specified already  exists, you  are asked if you want to overwrite it.
  5025. If you  press "N"  (for NO), you can enter a new file name, make minor
  5026. changes, or  cancel the  command with the Ctrl-U command.  If no block
  5027. is marked, this command is ignored.
  5028.  
  5029. Print                                                          Ctrl-KP
  5030. Prints the  currently  marked  and  displayed  block  on  the  default
  5031. printer.   If no  block is  marked or  the block is hidden, the entire
  5032. file is printed.
  5033.  
  5034.  
  5035. Miscellaneous Commands
  5036. ______________________________________________________________________
  5037. This section  describes a number of commands that do not fall into any
  5038. previous category.
  5039.  
  5040. Toggle insert mode                                       Ctrl-V or Ins
  5041. Selects Insert  or Overwrite  mode.  In Insert mode, text to the right
  5042. of the  cursor is  moved to  the right  as new  text is  entered.   In
  5043. Overwrite mode,  any text  to the  right of  the cursor is overwritten
  5044. when new text is entered.
  5045.  
  5046. Toggle autoindent                                              Ctrl-QI
  5047. When Autoindent  mode is  in effect,  the New  line command  (Enter or
  5048. Ctrl-M) will move the cursor to the next row and to the same column as
  5049. the first nonblank character on the previous line.
  5050.  
  5051. Toggle fixed tabs                                              Ctrl-or
  5052. When fixed  tabs are  in effect,  the tab  stops (normally)  start  at
  5053. column 9 and occur every 8 columns thereafter.  By default, fixed tabs
  5054. are off,  and smart  tabs are on.  When smart tabs are in use, the tab
  5055. stops are  determined by  the locations  of the  words on the previous
  5056. line; the  first character  in each  word represents a tab stop.  When
  5057. fixed tabs are used, the Tab command inserts a single tab character at
  5058. the cursor's position.  When smart tabs are used, the tab is stored as
  5059. a series of blanks.
  5060.  
  5061. Restore line                                                   Ctrl-QL
  5062. Undoes any changes made to a line of text as long as you have not left
  5063. the line.  The line is restored to its previous contents regardless of
  5064. the changes  made.   Since the  Delete line command (Ctrl-Y) moves the
  5065. cursor to  what was  previously  another  line,  Restore  line  cannot
  5066. recover lines deleted with it.
  5067.  
  5068.  
  5069. 72                                            Qmodem Operations Manual
  5070.  
  5071.  
  5072.  
  5073.  
  5074.  
  5075. Find                                                           Ctrl-QF
  5076. Lets you  search for  a string of up to 30 characters.  When you enter
  5077. this command,  the status  line is cleared and you will be asked for a
  5078. search string.   The  last search  string entered  (if  any)  will  be
  5079. displayed.   You can  select it  again by  pressing Enter, edit it, or
  5080. enter a  new string.   When  editing strings,  Backspace  deletes  the
  5081. previous character,  Ctrl-R restores the previous string, Ctrl-S moves
  5082. the cursor  to the  left, and  Ctrl-D shows  the next character to the
  5083. right.   Esc or Ctrl-U will cancel a search command, and Ctrl-P can be
  5084. used to enter control characters.
  5085.  
  5086. After the  search string  is entered,  you must  specify  your  search
  5087. options.   The options  you used last, if any, are displayed.  Editing
  5088. works the  same as  the search string edit.  The following options are
  5089. available:
  5090.  
  5091.   B  Searches backwards  from the  current cursor  position toward the
  5092.      beginning of the file.
  5093.   
  5094.   L  Limits searches to the currently marked block.
  5095.   
  5096.   n  n may  be any  number.   Find the  nth occurrence  of the  search
  5097.      string, counted from the current cursor position.
  5098.   
  5099.   U  Ignore case;  treats all  alphabetic characters  as if  they were
  5100.      uppercase.
  5101.   
  5102.   W  Searches for  whole words  only; skips matching patterns embedded
  5103.      in other words.
  5104.  
  5105. If the  text contains  a target matching the search string, the cursor
  5106. is positioned at the end of the target.
  5107.  
  5108. Find and replace                                               Ctrl-QA
  5109. This operation works the same as the Find command, except that you can
  5110. replace the  "found"  string  with  any  other  string  of  up  to  30
  5111. characters.   After entering the search string, you are asked to enter
  5112. the replacement  string.  The last replacement string, if any, will be
  5113. displayed; you can accept it, edit it, or enter a new string.
  5114.  
  5115. Finally, you  are prompted for options.  The options you used last are
  5116. displayed at  first.   You can  enter new  options (cancelling the old
  5117. ones), edit  the current  options,  or  select  the  same  options  by
  5118. pressing Enter.   The  options are  the same  as those  for  the  Find
  5119. command with the following exceptions:
  5120.  
  5121.   G  Searches globally.   The  entire file  is scanned  for the search
  5122.      string, regardless  of the  current position  of the cursor.  The
  5123.      search starts  at the beginning of the file if searching forward;
  5124.      at the end if searching backwards.
  5125.   
  5126.  
  5127. Version 4.0                                                         73
  5128.  
  5129.  
  5130.  
  5131.  
  5132.  
  5133.   N  Replaces without  asking.   Does not  prompt for  confirmation at
  5134.      each occurrence of the search string.
  5135.  
  5136. If the  text contains  a target matching the search string, the cursor
  5137. is positioned  at the  end of  the target.   You are then asked if you
  5138. wish to  replace it.   Press  "Y" to  replace it, or "N" to ignore it.
  5139. You can abort the operation by pressing Ctrl-U.  If you selected the N
  5140. (no prompting) option, this question will not be asked.
  5141.  
  5142. You can speed up global search-and-replace operations by selecting the
  5143. N option  and then  pressing  a  key  (preferably  for  a  nonprinting
  5144. character, such  as ESC or Ins).  The screen is then no longer updated
  5145. when each replacement is made.
  5146.  
  5147. Find next                                                       Ctrl-L
  5148. Repeats the  last search operation.  If the last search command called
  5149. for a  Find operation,  the same  search string  and options  will  be
  5150. repeated; for  a Find-and-replace  operation, the  replacement  string
  5151. will be reused as well.
  5152.  
  5153. Saves the  file being  edited and exits from the editor.  The original
  5154. file, if any, is renamed to FILENAME.BAK.
  5155.  
  5156.  
  5157.  
  5158. EDINSTAL - Keyboard Installation Program
  5159. ______________________________________________________________________
  5160. You can  use the EDINSTAL program (on the Utilities Disk) to customize
  5161. the Internal  Editor.   You can  redefine the keystrokes (both primary
  5162. and secondary)  used to  invoke the predefined commands.  For example,
  5163. the Toggle fixed tabs command is by default assigned to Ctrl-QI; using
  5164. EDINSTAL, you could assign this command to Shift-Tab.
  5165.  
  5166.  
  5167. Running EDINSTAL
  5168. ______________________________________________________________________
  5169. Load EDINSTAL.EXE  by typing  EDINSTAL at  the DOS  command line.  The
  5170. QMODEM.EXE file  must be in the current directory for this to run.  If
  5171. it is, you will be asked
  5172.  
  5173.      Perform fast entry for fully reconfigured keyboard?
  5174.  
  5175. If you press "Y" for yes, you can install the keyboard using the fast-
  5176. entry method.   The default response, No, can be given by pressing "N"
  5177. or Enter.   If you answer No, the keyboard will be installed using the
  5178. random access method.
  5179.  
  5180.  
  5181.  
  5182.  
  5183.  
  5184.  
  5185. 74                                            Qmodem Operations Manual
  5186.  
  5187.  
  5188.  
  5189.  
  5190.  
  5191. Fast Entry
  5192. ______________________________________________________________________
  5193. When you  select the  fast-entry option,  you will  see the  following
  5194. instructions:
  5195.  
  5196. ╔══════════════════════════════════════════════════╗
  5197.  
  5198.  Press <Enter> to accept default
  5199.  Press keys followed by <Enter> for new key sequence
  5200.  Press <Bksp> to back up one keystroke, C to clear, R to restore
  5201.  Press <Scroll Lock> to toggle literal mode
  5202.  Press <Escape> to quit entering commands
  5203.  Random access editing is available when you are finished
  5204.  
  5205. ╚══════════════════════════════════════════════════╝
  5206.  
  5207. You can  then either  enter a  new key  sequence for  each command  or
  5208. accept the  current one  by pressing Enter.  Both the command name and
  5209. the current  key sequence  are always  displayed to  the left  of  the
  5210. cursor.   You specify a new key sequence by pressing the keys you wish
  5211. to use to invoke that command.  Pressing Enter terminates your entry.
  5212.  
  5213. You can  correct  mistakes  in  the  current  entry  by  pressing  the
  5214. Backspace key  (delete last keystroke), C (Clear entry), or R (Restore
  5215. previous entry).   To  specify either  the Enter  key or a Ctrl-M, you
  5216. must first  press the Scroll Lock key, which indicates that keystrokes
  5217. are to  be interpreted  literally; press it again when you've finished
  5218. entering  the  key  sequence.    Pressing  Esc  stops  the  fast-entry
  5219. procedure and takes you to the random access entry screen.
  5220.  
  5221.  
  5222. Random Access
  5223. ______________________________________________________________________
  5224. When you  select the  random access  option or  when you have finished
  5225. using the  fast-entry procedure,  you can  alter any  or  all  of  the
  5226. default key  sequences.  The top line of the screen will give you some
  5227. basic instructions.   The  remainder of the screen shows (from left to
  5228. right) the  name of  the command,  the primary  key sequence,  and the
  5229. secondary key sequence (if any).
  5230.  
  5231. Move the  cursor to  the key  sequence you  want to  change and  press
  5232. Enter.   Use the Left arrow and Right arrow keys to select the primary
  5233. or secondary  key sequences,  and scroll  through the list of commands
  5234. using the  Up arrow,  Down arrow, PgUp, and PgDn keys.  Home takes you
  5235. to the first command, and End to the last.
  5236.  
  5237. You can correct mistakes the same way as the fast-entry edit.
  5238.  
  5239.  
  5240.  
  5241.  
  5242.  
  5243. Version 4.0                                                         75
  5244.  
  5245.  
  5246.  
  5247.  
  5248.  
  5249. Quitting the Program
  5250. ______________________________________________________________________
  5251. When you  have finished  making changes,  press "Q"  to quit or "W" to
  5252. write your  changes to  the QMODEM.EXE  file.  If you choose the Write
  5253. option, you  will then see the message "Checking for conflicts..."  If
  5254. you have  accidentally assigned the same key sequence to two different
  5255. commands, an  error message  will be  displayed.  You can correct your
  5256. mistakes by searching for the highlighted items.
  5257.  
  5258. You will  also see  an error  message if the new list of keystrokes is
  5259. too large  for the  area set  aside for it.  You can easily solve this
  5260. problem by eliminating a few secondary key sequences.
  5261.  
  5262.  
  5263.  
  5264.  
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270.  
  5271.  
  5272.  
  5273.  
  5274.  
  5275.  
  5276.  
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282.  
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289.  
  5290.  
  5291.  
  5292.  
  5293.  
  5294.  
  5295.  
  5296.  
  5297.  
  5298.  
  5299.  
  5300.  
  5301. 76                                            Qmodem Operations Manual
  5302.  
  5303.  
  5304.  
  5305.  
  5306.  
  5307. The Status Line
  5308. ______________________________________________________________________
  5309. While in  terminal mode,  Qmodem  displays  many  of  its  operational
  5310. settings in the Status Line at the bottom of the screen:
  5311.  
  5312. ╔════════════════════════════════════════════════╗
  5313.  
  5314.    1        2         3          4       5    /-------- 6 --------\      7
  5315.  
  5316. ▒ ANSI   Offline 19200-8-N-1 ▒ Home=? ▒ FDX ▒ 8 LF X B M CP LG ^ PR ▒ 13:47:06 ▒
  5317.  
  5318. ╚════════════════════════════════════════════════╝
  5319.  
  5320.    NOTE:  Some of  the special  characters used  in the status line
  5321.           are unprintable  and may  cause erratic printer behavior.
  5322.           These characters were changed to insure proper printing.
  5323.  
  5324. The status line is divided into seven areas, from left to right:
  5325.  
  5326. Area 1:
  5327.  
  5328.      The terminal  emulation in  effect.   In the  above example, ANSI
  5329.      emulation is active.
  5330.  
  5331.  
  5332. Area 2:
  5333.  
  5334.      The  Online/Offline   indicator.     When  connected  to  another
  5335.      computer, the  word "Online"   will  be displayed  in this  area.
  5336.      When  Qmodem   is  first  started,  this  indicator  should  read
  5337.      "Offline".
  5338.  
  5339.  
  5340. Area 3:
  5341.  
  5342.      The current  communication  parameters:  Baud  Rate,  Data  Bits,
  5343.      Parity, and  Stop Bits.   These  values will  change  to  reflect
  5344.      changes made  with the  Alt-P command,  or to  reflect the values
  5345.      defined in the Dialing directory for each number.
  5346.  
  5347.  
  5348. Area 4:
  5349.  
  5350.      A short  reminder to  press the  Home key  to view  the Main Help
  5351.      Menu, which  shows all  available commands.   Summary help on any
  5352.      Qmodem command  may be  obtained directly  from the  Main Menu as
  5353.      well.
  5354.  
  5355.  
  5356.  
  5357.  
  5358.  
  5359. Version 4.0                                                         77
  5360.  
  5361.  
  5362.  
  5363.  
  5364.  
  5365. Area 5:
  5366.  
  5367.      The current  Duplex (a.k.a.  Echo) state.   FDX  stands for  Full
  5368.      Duplex and  HDX stands  for Half  Duplex.   Refer  to  the  Alt-E
  5369.      command for a full explanation of Duplex mode.
  5370.  
  5371.  
  5372. Area 6:
  5373.  
  5374.      The current  state of  Qmodem Toggles.  There are 9 toggles, from
  5375.      left to right:
  5376.  
  5377.      8    Hi-bit strip toggle.
  5378.      
  5379.      A "7" means that the high bits are stripped, and an "8" means all
  5380.      bits are used.
  5381.      
  5382.      
  5383.      LF   Add Linefeed Toggle.
  5384.      
  5385.      If "LF",  a Linefeed  will be  added  to  all  incoming  Carriage
  5386.      Returns.  If disabled, this area will be blank.
  5387.      
  5388.      
  5389.      X    XON/XOFF toggle.
  5390.      
  5391.      If "X",  Xon/Xoff flow control is active.  If this area is blank,
  5392.      Xon/Xoff flow control is ignored by Qmodem.
  5393.      
  5394.      
  5395.      B    Beeps &  Bells Toggle  (Shown on-screen  as a single musical
  5396.      note).
  5397.      
  5398.      If present,  indicates that  Qmodem will  generate sounds  on the
  5399.      PC's speaker when specific conditions are met.  If this is blank,
  5400.      Qmodem produces no sounds.
  5401.      
  5402.      
  5403.      M    Music Toggle (Shown on-screen as a double musical note).
  5404.      
  5405.      If present,  indicates that Qmodem will play ANSI Music if found.
  5406.      If blank, Qmodem will not play ANSI music.
  5407.      
  5408.      
  5409.      CP   Capture Buffer Toggle.
  5410.      
  5411.      If present,  indicates that  text is being captured to a file. If
  5412.      blank, incoming text is not captured.
  5413.      
  5414.      
  5415.  
  5416.  
  5417. 78                                            Qmodem Operations Manual
  5418.  
  5419.  
  5420.  
  5421.  
  5422.  
  5423.      LG   Session Log Toggle.
  5424.      
  5425.      If present,  indicates that the Session LOG is active.  If blank,
  5426.      the session LOG is not active.
  5427.      
  5428.      
  5429.      ^    Scroll-back Toggle (Shown on-screen by an up-arrow).
  5430.      
  5431.      If present,  Qmodem is capturing incoming data to the scroll-back
  5432.      buffer.  If blank, the scroll-back feature is not active.
  5433.      
  5434.      
  5435.      PR   Printer Toggle.
  5436.      
  5437.      If present, screen text is also sent to the printer.
  5438.  
  5439.  
  5440. The last  item on  the Status  Line is the System Clock.  When ONLINE,
  5441. the clock  displays Elapsed-Time  (the duration  of the  call).   When
  5442. OFFLINE, the clock displays the time-of-day.
  5443.  
  5444.  
  5445.  
  5446.  
  5447.  
  5448.  
  5449.  
  5450.  
  5451.  
  5452.  
  5453.  
  5454.  
  5455.  
  5456.  
  5457.  
  5458.  
  5459.  
  5460.  
  5461.  
  5462.  
  5463.  
  5464.  
  5465.  
  5466.  
  5467.  
  5468.  
  5469.  
  5470.  
  5471.  
  5472.  
  5473.  
  5474.  
  5475. Version 4.0                                                         79
  5476.  
  5477.  
  5478.  
  5479.  
  5480.  
  5481. The HOME Menu
  5482. ______________________________________________________________________
  5483. Pressing the  Home key  causes Qmodem to display the following screen,
  5484. which describes all of Qmodem's available commands :
  5485.  
  5486. ╔════════════════════════════════════════════════╗
  5487.  
  5488. ╒══════════════════════════ C O M M A N D   M E N U ═══════════════════════════╕
  5489. │                                                                              │
  5490. │ ─────────────────── BEFORE ───────────────────    ──────── TOGGLES ───────── │
  5491. │ Alt-D  Phone Directory   Alt-G  Term Emulation    Alt-0  Session Log On/Off  │
  5492. │ ─────────────────── DURING ───────────────────    Alt-1  Bksp/Del Switch     │
  5493. │ Alt-C  Clear Screen      ^Home  Capture File      Alt-5  Host Mode           │
  5494. │ Alt-F  Execute Script    ^End   Send BREAK        Alt-8  Hi-Bit On/Off       │
  5495. │ Alt-Q  QuickLearn Mode    PgUp  Upload Files      Alt-9  Printer On/Off      │
  5496. │ Alt-S  Split Screen       PgDn  Download Files    Alt-B  Beeps and Bells     │
  5497. │ Alt-T  Screen Dump       ^PgUp  (alternate)       Alt-E  Half/Full Duplex    │
  5498. │       Scroll-back       ^PgDn  PgDn (alternate)  Alt-I  Program Information │
  5499. │ ─────────────────── AFTER ────────────────────    Alt-M  ANSI Music On/Off   │
  5500. │ Alt-H  Hang-up Modem     Alt-X  Exit Qmodem       Alt-U  Scroll Back On/Off  │
  5501. │                                                   Alt-Z  Xon/Xoff Flow On/Off│
  5502. │ ─────────────────── SETUP ────────────────────    Alt-=  DoorWay Mode        │
  5503. │ Alt-A  Translate Tables  Alt-N  Configure Qmodem  ShTab  CR/CRLF Mode        │
  5504. │ Alt-J  Function Keys     Alt-P  Change Baud Rate  Alt-2  80x25 (EGA/VGA)     │
  5505. │ Alt-K  Change COM Port                            Alt-4  80x43/50 (EGA/VGA)  │
  5506. │ ──────────────────── DOS ─────────────────────    ─────── COPYRIGHT ──────── │
  5507. │ Alt-L  Change Drive      Alt-V  View/Edit File    The Forbin Project, Inc.   │
  5508. │ Alt-O  Change Directory  Alt-W  List Directory    Post Office Box 702        │
  5509. │ Alt-R  DOS Shell         Alt-Y  Delete a File     Cedar Falls, IA  50613     │
  5510. │                                                                              │
  5511. ╘════════════════ Qmodem SST Version 4.0  Compiled Jan 31,1989 ════════F1 Help═╛
  5512. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Select a function,  F1 for Help  -or-  ESC to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  5513.  
  5514. ╚════════════════════════════════════════════════╝
  5515.  
  5516. The Home Menu is divided into 7 areas:
  5517.  
  5518.   BEFORE
  5519.   
  5520.      Commands you  are likely  to use  before dialing a system such as
  5521.      setting terminal emulation and getting into the dialing directory
  5522.      itself.
  5523.   
  5524.   
  5525.   DURING
  5526.   
  5527.      Commands you are likely to use while online.
  5528.   
  5529.   
  5530.  
  5531.  
  5532.  
  5533. 80                                            Qmodem Operations Manual
  5534.  
  5535.  
  5536.  
  5537.  
  5538.  
  5539.   AFTER
  5540.   
  5541.      Commands used to end your online session or exit Qmodem.
  5542.   
  5543.   
  5544.   SETUP
  5545.   
  5546.      Commands used to change Qmodem's operational parameters.
  5547.   
  5548.   
  5549.   DOS
  5550.   
  5551.      Commands which  interact with your computer, rather than with the
  5552.      computer you are calling.
  5553.   
  5554.   
  5555.   TOGGLES
  5556.   
  5557.      Commands that  activate or  deactivate certain  Qmodem features .
  5558.      Operating these  toggles   is  usually  done  by    pressing  the
  5559.      corresponding key combination.
  5560.   
  5561.   
  5562.   COPYRIGHT
  5563.   
  5564.      Qmodem copyright  notice and  program licensing  and registration
  5565.      information.
  5566.   
  5567.      
  5568. Notice that  the standard Qmodem terminal status line changes when the
  5569. Home Menu  is displayed  (see above  example)  As the Home status line
  5570. indicates, you  can get summary help for any command by pressing [F1],
  5571. then the  desired command  key combination.   Pressing [ENTER] returns
  5572. Qmodem to terminal mode.
  5573.  
  5574. Qmodem updates  or replaces  the Status  Line to  reflect the  current
  5575. environment, the  function  being  performed,  or  the  command  being
  5576. executed.   Check the  Status Line  often, it  may help you get out of
  5577. trouble if and when you get stuck!
  5578.  
  5579.  
  5580.  
  5581.  
  5582.  
  5583.  
  5584.  
  5585.  
  5586.  
  5587.  
  5588.  
  5589.  
  5590.  
  5591. Version 4.0                                                         81
  5592.  
  5593.  
  5594.  
  5595.  
  5596.  
  5597. Qmodem Commands
  5598. ______________________________________________________________________
  5599. Qmodem features  a wealth  of commands,  many of  them  with  multiple
  5600. options,  and   used  for   different  purposes  and  under  different
  5601. circumstances.  This section of the Qmodem documentation describes all
  5602. Qmodem commands in detail and -- mostly --  in alphabetical order.
  5603.  
  5604.  
  5605.  
  5606. Alt-A  STRIP/REPLACE TABLE.
  5607. ______________________________________________________________________
  5608. ╔════════════════════════════════════════════════╗
  5609.  
  5610.                         ╒══════ Table Selection ══════╕
  5611.                         │                             │
  5612.                         │    Select Table to Edit     │
  5613.                         │                             │
  5614.                         │         1 -  INPUT          │
  5615.                         │         2 -  OUTPUT         │
  5616.                         │                             │
  5617.                         │  Your Choice ?              │
  5618.                         ╘═════════════════════F1 Help═╛
  5619.  
  5620.  
  5621. ▒▒▒▒▒ Select the Strip/Replace Translate Table to Edit  -or-  [ESC] to Exit ▒▒▒▒
  5622.  
  5623. ╚════════════════════════════════════════════════╝
  5624.  
  5625. Strip/Replace  is   more  commonly  known  as  character  translation.
  5626. Translation may  be necessary when communicating with another computer
  5627. whose ASCII  codes   (the computer's alphabet) do not match those used
  5628. by your  PC.   There are 256 ASCII characters, ranging in value from 0
  5629. to 255.   Stripping a character causes Qmodem to remove that character
  5630. from all incoming text data.
  5631.  
  5632. For example:
  5633.      
  5634.      Some computers use the ASCII value 127 as a back space character,
  5635.      while IBM  PC and  compatibles use  the ASCII  value 8.   Lack of
  5636.      translation would  cause back space characters sent by the remote
  5637.      computer to  look like  so many  little houses, the PC symbol for
  5638.      ASCII 127.  To insure proper communications, ASCII 127 characters
  5639.      should  be changed to the ASCII 8 which your PC understands.
  5640.  
  5641. Pressing the  Alt-A key  combinations displays a screen containing the
  5642. ASCII values  0 through  127 and their respective translations.  Since
  5643. Qmodem does  not perform  any character  translation by  default,  all
  5644. values are the same the first time you use the Alt-A command.
  5645.  
  5646.  
  5647.  
  5648.  
  5649. 82                                            Qmodem Operations Manual
  5650.  
  5651.  
  5652.  
  5653.  
  5654.  
  5655. Above  the   translate  table   are  the   original   and   translated
  5656. representations of  the current  value.   Characters which  have  been
  5657. translated will appear highlighted until changed back to normal.  This
  5658. is a quick visual cue showing what has been changed.
  5659.  
  5660. ╔════════════════════════════════════════════════╗
  5661.  
  5662. ╒═════════════════════════ INPUT Strip/Replace Table ══════════════════════════╕
  5663. │                    In Character | |  Out Character | |                       │
  5664. │  [  0-  0]  16- 16   32- 32   48- 48   64- 64   80- 80   96- 96  112-112     │
  5665. │     1-  1   17-  0   33- 33   49- 49   65- 65   81- 81   97- 97  113-113     │
  5666. │     2-  2   18- 18   34- 34   50- 50   66- 66   82- 82   98- 98  114-114     │
  5667. │     3-  3   19-  0   35- 35   51- 51   67- 67   83- 83   99- 99  115-115     │
  5668. │     4-  4   20- 20   36- 36   52- 52   68- 68   84- 84  100-100  116-116     │
  5669. │     5-  5   21- 21   37- 37   53- 53   69- 69   85- 85  101-101  117-117     │
  5670. │     6-  6   22- 22   38- 38   54- 54   70- 70   86- 86  102-102  118-118     │
  5671. │     7-  0   23- 23   39- 39   55- 55   71- 71   87- 87  103-103  119-119     │
  5672. │     8-  8   24- 24   40- 40   56- 56   72- 72   88- 88  104-104  120-120     │
  5673. │     9-  9   25- 25   41- 41   57- 57   73- 73   89- 89  105-105  121-121     │
  5674. │    10- 10   26- 26   42- 42   58- 58   74- 74   90- 90  106-106  122-122     │
  5675. │    11- 11   27- 27   43- 43   59- 59   75- 75   91- 91  107-107  123-123     │
  5676. │    12-  0   28- 28   44- 44   60- 60   76- 76   92- 92  108-108  124-124     │
  5677. │    13- 13   29- 29   45- 45   61- 61   77- 77   93- 93  109-109  125-125     │
  5678. │    14- 14   30- 30   46- 46   62- 62   78- 78   94- 94  110-110  126-126     │
  5679. │    15- 15   31- 31   47- 47   63- 63   79- 79   95- 95  111-111  127-  0     │
  5680. │                                                                              │
  5681. │                                                                              │
  5682. │                                                                              │
  5683. ╘══════════════════════════════════════════════════════════════════════F1 Help═╛
  5684. ▒▒▒▒▒ [] Movement   [S]wap   [SpaceBar] Change   [F10] Save  [ESC] Exit ▒▒▒▒
  5685.  
  5686. ╚════════════════════════════════════════════════╝
  5687.  
  5688. To change (translate) an incoming ASCII value:
  5689.  
  5690.   1. Move the half-box cursor to the desired ASCII value/character you
  5691.      want to  strip or replace.  The number to the left of the dash is
  5692.      the original  ASCII value;  the number  on  the  right    is  the
  5693.      translated  character  which  you  will  see  when  the  original
  5694.      character is received.
  5695.   
  5696.   2. Press the  Space Bar once.  A prompt will appear at the bottom of
  5697.      the screen  asking for an number between 0 and 255.  To strip the
  5698.      character, replace the number on the right with a 0 (ZERO).
  5699.   
  5700.   3. Press [ENTER] to complete the change.
  5701.  
  5702.  
  5703.  
  5704.  
  5705.  
  5706.  
  5707. Version 4.0                                                         83
  5708.  
  5709.  
  5710.  
  5711.  
  5712.  
  5713. The original  ASCII specification   was  a 7-bit code allowing for 128
  5714. characters (0-127).   All modern-day computers add an 8th bit in front
  5715. of the  original 7  to allow  another 128 characters.  This 8th bit is
  5716. also referred  to as the High Bit. Pressing the 'S' key will alternate
  5717. the translate  table display between the lower 128  (0-127) and higher
  5718. 128 (128-255) characters.
  5719.  
  5720. Note that  although a standard exists for most lower ASCII characters,
  5721. this is  not true  of the upper 128 values.  These High-Bit values are
  5722. assigned freely  by each  computer manufacturer.   For example, Apple,
  5723. IBM, and  Commodore use  radically different  standards  in  assigning
  5724. characters to these higher values (the IBM PC uses the high-bit values
  5725. for the  international character  set, symbols,  and  line/box-drawing
  5726. characters).
  5727.  
  5728. When you  are finished,   press  [F10] to save the changes (if any) or
  5729. [ESC] to abort the changes and return to the Qmodem terminal screen.
  5730.  
  5731.  
  5732.  
  5733. Alt-B  BELLS AND BEEPS TOGGLE.
  5734. ______________________________________________________________________
  5735. Qmodem uses the PC's speaker as an audible warning when certain events
  5736. occur (ie,  successful connection,  or completion of a file transfer).
  5737. Since the speaker volume  cannot be adjusted,  you may wish to turn it
  5738. off.  You can toggle the noise on and off with Alt-B.
  5739.  
  5740. Pressing Alt-B displays the following status window:
  5741.  
  5742. ╔════════════════════════════════════════════════╗
  5743.  
  5744.                     ╒═════ Status ══════╕
  5745.                     │ Beeps & Bells OFF │
  5746.                     ╘═══════════════════╛
  5747.  
  5748.                     ╒═════ Status ══════╕
  5749.                     │ Beeps & Bells ON  │
  5750.                     ╘═══════════════════╛
  5751.  
  5752. ╚════════════════════════════════════════════════╝
  5753.  
  5754.  
  5755.  
  5756.  
  5757.  
  5758.  
  5759.  
  5760.  
  5761.  
  5762.  
  5763.  
  5764.  
  5765. 84                                            Qmodem Operations Manual
  5766.  
  5767.  
  5768.  
  5769.  
  5770.  
  5771. Alt-C  CLEAR SCREEN.
  5772. ______________________________________________________________________
  5773. This command  clears the  screen of all information and resets default
  5774. colors; a  very useful feature.  For example, those ANSI color screens
  5775. displayed on  certain Bulletin  Boards can utterly mess up your screen
  5776. colors --  like leaving  your screen  black-on-black, which is hard to
  5777. read --.  Using Alt-C will reset the color on your screen back to your
  5778. configuration selections;  a real lifesaver.
  5779.  
  5780.    NOTE:  If screen  colors were  changed while  executing a Script
  5781.           command, the new screen colors will only remain in effect
  5782.           until the  script terminates.  Once the Script has ended,
  5783.           default Qmodem  colors are  restored (but  may require an
  5784.           Alt-C to invoke them).
  5785.    
  5786.    NOTE:  In VT100  emulation mode,  Alt-C only  clears the  active
  5787.           screen area  between the  top and  bottom margins.   This
  5788.           area is referred to as the Scrolling Region.
  5789.  
  5790.  
  5791.  
  5792. Alt-D  DIALING DIRECTORY.
  5793. ______________________________________________________________________
  5794. The Qmodem  Dialing  Directory  can  hold  up  to  200  entries,  each
  5795. containing  information   such  as:     name,  number,  communications
  5796. parameters, auto-logon  script  name,  date  of  last  connect,  total
  5797. connections, default transfer protocol, and duplex mode.
  5798.  
  5799. New with Qmodem 4.0 is the ability to have Note Files attached to each
  5800. directory entry.   This file is a standard ASCII text file intended to
  5801. hold any and all information relating to that entry: information about
  5802. the System being called, hours of operation, Sysop name, etc...
  5803.  
  5804. The size  of this  text file  is limited  only by the amount of memory
  5805. allocated to  the Qmodem  Internal Editor  as defined  via Alt-N/O/M/E
  5806. (remember back  in the  installation section?)   Entries with attached
  5807. Note Files  are identified  in the Dialing Directory with a triple-bar
  5808. symbol immediately  following the  entry's number.   Entry  #1 in  the
  5809. following snapshot has an attached Note File.
  5810.  
  5811.  
  5812.  
  5813.  
  5814.  
  5815.  
  5816.  
  5817.  
  5818.  
  5819.  
  5820.  
  5821.  
  5822.  
  5823. Version 4.0                                                         85
  5824.  
  5825.  
  5826.  
  5827.  
  5828.  
  5829. After pressing Alt-D, the following screen is displayed:
  5830.  
  5831. ╔════════════════════════════════════════════════╗
  5832.  
  5833. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  5834. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  5835. │ Total Tags > 2                        Prefixes > ABC                         │
  5836. │[D]   Name                             Number          COM        Script      │
  5837. │1  ≡  Forbin Project BBS               1-319-233-6157 19200-8-N-1 SYSOP2.SCR  │
  5838. │2                                                     19200-8-N-1             │
  5839. │3                                                     19200-8-N-1             │
  5840. │4                                                     19200-8-N-1             │
  5841. │5                                                     19200-8-N-1             │
  5842. │6                                                     19200-8-N-1             │
  5843. │7     GEnie_Local 1200 Baud                `B555-1212  1200-8-N-1 GENIE       │
  5844. │8                                                     19200-8-N-1             │
  5845. │9  ≡  Sound of Music        V9600    `A1-301-555-1212 19200-8-N-1 MUSIC!      │
  5846. │10  √ LANS Node 1             HST      1-219-555-1212 19200-8-N-1 LANS        │
  5847. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  5848. │            Entries                    Dial                   FON             │
  5849. │    SPACE - Tag/Untag          ENTER - Starts Dialing     F - Find Text       │
  5850. │        C - Clear Tagged         ESC - Cancel/Exit        A - Find Again      │
  5851. │        E - Edit Prefixes          M - Manual Dial        L - Load            │
  5852. │        Q - QuickLearn                                    O - Other Info      │
  5853. │        R - Revise                     Edit               P - Print           │
  5854. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  5855. │        U - Untag All              V - Linked Script     ^U - Undo            │
  5856. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  5857. ▒▒▒▒ Move Bar :  PgUp PgDn ^PgUp ^PgDn    [ENTER] to Dial    [ESC] to Exit ▒▒▒
  5858.  
  5859. ╚════════════════════════════════════════════════╝
  5860.  
  5861. The Dialing  Directory screen  is divided into 2 sections:   The upper
  5862. section displays  directory entries,  the current  page, the number of
  5863. tagged entries  (more on  this in a moment), the number of pre-defined
  5864. Dialing Prefixes,  and the  actual entries  on the  page.   The  lower
  5865. screen section displays all available Dialing Directory commands.
  5866.  
  5867.    TIP:  If your PC has EGA or VGA display capabilities, or is able
  5868.          to display  at least 43 lines on the screen, the directory
  5869.          will display an additional 10 lines entries per screen!
  5870.  
  5871. What this  snapshot does  not show is the scrollbar cursor,  a screen-
  5872. wide highlight  identifying the current directory entry.  Instructions
  5873. on moving the scrollbar cursor are shown in the Alt-D status line.
  5874.  
  5875.  
  5876.  
  5877.  
  5878.  
  5879.  
  5880.  
  5881. 86                                            Qmodem Operations Manual
  5882.  
  5883.  
  5884.  
  5885.  
  5886.  
  5887. Moving around in the Directory
  5888. Up/Down - PgUp/PgDn - ^PgUp/^PgDn
  5889. ______________________________________________________________________
  5890. The Up  and Down  arrow keys  move the  scrollbar cursor one line at a
  5891. time in the corresponding direction.
  5892.  
  5893. Pressing PgDn displays the next directory page -- unless the last page
  5894. is displayed  --.   Pressing PgDn  while in  the last  directory  page
  5895. causes wrap  around back  to the  first  directory  page.    The  same
  5896. principle applies  to the  PgUp key,  but in the opposite direction of
  5897. course..
  5898.  
  5899. ^PgUp will  position the  scrollbar cursor  to the  FIRST entry in the
  5900. directory (#1),  while ^PgDn  positions the  cursor at  the LAST entry
  5901. (#200).
  5902.  
  5903.  
  5904.  
  5905. Entries
  5906.  
  5907. Spacebar - Tagging entries
  5908. ______________________________________________________________________
  5909. Tagging of  Dialing Directory  entries is a new feature in Qmodem 4.0.
  5910. A number  of Dialing  Directory commands  operate on  tagged  entries.
  5911. Therefore, it  is important  to understand   WHAT tagging is.  We will
  5912. then be able to describe  how it is done.
  5913.  
  5914. Basic Dialing Directory commands such as Revise, Clear, and Dial,  act
  5915. only on  entries that  are tagged.  To add multiple new entries to the
  5916. phone book,  blank lines  are  first  tagged,    then  enter  the  new
  5917. information, one  entry at  a time.  Clearing (removing) entries works
  5918. in a  similar fashion.   You first tag the entries to be cleared, then
  5919. select the  Clear option.   To  build a dialing queue, tag the desired
  5920. entries, and  press [ENTER].   As you will see, there are many methods
  5921. to  accomplish   the  same  things,  each  having  its  advantages  or
  5922. drawbacks.   The rest  of the commands are there to make Qmodem easier
  5923. to use.
  5924.  
  5925. There are  three methods  used to tag entries; Pressing the Space Bar,
  5926. the 'Q' key, and a third method called implied tagging.  The Space Bar
  5927. is the  most commonly used tagging method.   Q-tagging will be briefly
  5928. discussed here,  but will be covered in more detail later on.  Implied
  5929. tagging will be discussed under the CLEARING ENTRIES heading.
  5930.  
  5931. Tagged entries are identified by Qmodem in two different ways:
  5932.  
  5933.   1. They are  displayed in  a different  color (provided  your  color
  5934.      setup defines them as such), and
  5935.   2. They are preceded by the special check-mark character '√' or 'Q'.
  5936.      The previous screen snapshot shows entry #10 as being tagged.
  5937.  
  5938.  
  5939. Version 4.0                                                         87
  5940.  
  5941.  
  5942.  
  5943.  
  5944.  
  5945. What is the difference between the '√' and 'Q' tags?
  5946.  
  5947. Good question.  If the Script field is blank or contains a Script name
  5948. and the  Script exists, then the '√' tag is used.  If a Script name is
  5949. specified for  that entry,  but the  script file  does not  exist, the
  5950. letter 'Q' is used as a tag character instead.
  5951.  
  5952.      "So why the letter 'Q', anyway?"
  5953.  
  5954. Another  good   question.    'Q'  stands  for  "QuickLearn",  Qmodem's
  5955. automatic script-building facility.  As the connection is established,
  5956. QuickLearn records  your interaction  with  the  remote  computer  and
  5957. creates a  Script file which exactly replicates these actions the next
  5958. time you  call.   As a  result, the logon process becomes automated --
  5959. fast and  painless --.   A  complete  description  of  the  QuickLearn
  5960. facility is  included  later  on  in  this  manual.    We  think  that
  5961. QuickLearn sure  beats a  poke in the eye with a sharp stick.  It is a
  5962. neat feature, well worth paying for.
  5963.  
  5964.      "I now have entries tagged...  now what?"
  5965.  
  5966. Now you can Dial them, Revise them, or Clear them!
  5967.  
  5968.    TIP:  Un-tagging an  entry is  as simple  as tagging it; use the
  5969.          Space Bar  again.   With the  cursor on  a  tagged  entry,
  5970.          pressing the Space Bar removes the tag.
  5971.  
  5972.  
  5973.  
  5974. C - Clearing Entries
  5975. ______________________________________________________________________
  5976. Clearing multiple  entries requires  that they  first be tagged.  Does
  5977. this mean  that you must tag a single entry before you revise or clear
  5978. it?   No, not quite.
  5979.  
  5980. If there  are no  tagged entries,  Qmodem  assumes  that  the  command
  5981. applies to  the entry  at the  cursor.   Internally, Qmodem  tags  the
  5982. current entry,   then  executes the  requested command.   This  is the
  5983. implied tagging  method mentioned  earlier, which requires no specific
  5984. tagging action  on your  part.   Thus, to  perform operations  against
  5985. single entries,   you  do nothing  more than issue the command; Qmodem
  5986. does the  rest.  To clear a single entry, move the scrollbar cursor to
  5987. it, and press C.
  5988.  
  5989. Implied tagging  cannot be  used  when  multiple  entries  are  tagged
  5990. explicitly.   To clear multiple entries, tag them first with the Space
  5991. Bar, then press C.  The scrollbar cursor will move to the first tagged
  5992. entry and Qmodem will display the Clear Entry menu.
  5993.  
  5994.    CAUTION:  If multiple  entries are  already tagged as the result
  5995.              of a previous operation (ie, dialing), and you wish to
  5996.  
  5997. 88                                            Qmodem Operations Manual
  5998.  
  5999.  
  6000.  
  6001.  
  6002.  
  6003.              clear a  single entry, REMOVE ALL TAGS first by typing
  6004.              'U'.   Since tagged  entries may  be elsewhere  in the
  6005.              directory, and  not visible in the current page, it is
  6006.              easy to assume that implied tagging will work, when in
  6007.              fact it  will not.   It  is advisable to check the Tag
  6008.              Count displayed  at the  top of  the dialing directory
  6009.              screen before attempting any "implied-tag" commands.
  6010.  
  6011. Now that  you understand the difference between explicit and  implicit
  6012. tagging, let's  look at an example.  In the screen below, entry #5 was
  6013. tagged, and 'C' was pressed:
  6014.  
  6015. ╔════════════════════════════════════════════════╗
  6016.  
  6017. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  6018. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  6019. │ Total Tags > 2                        Prefixes > ABC                         │
  6020. │[D]   Name                             Number          COM        Script      │
  6021. │1  ≡  Test Node at Forbin                    555-1212 19200-8-N-1 SYSOP2.SCR  │
  6022. │2     Forbin Project Main Number             233-6157 19200-8-N-1 FORBIN      │
  6023. │3                                                     19200-8-N-1             │
  6024. │4                                                     19200-8-N-1             │
  6025. │5  ≡√ Old BBS to delete                      555-1212  9600-8-N-1             │
  6026. │6                                                     19200-8-N-1             │
  6027. │7     GEnie_Local 1200 Baud                `B277-4741  1200-8-N-1 GENIE       │
  6028. │8                                                     19200-8-N-1             │
  6029. │9  ≡  Sound of Music   ╒══ Clear Entries and/or Notes ══╕00-8-N-1 MUSIC!      │
  6030. │10    LANS Node 1      │                                │00-8-N-1 LANS        │
  6031. ╞═══════════════════════│      1.  Notes Only            │═════════════════════╡
  6032. │            Entries    │      2.  Entries & Notes       │     FON             │
  6033. │    SPACE - Tag/Untag  │    ESC.  Return to Directory   │ F - Find Text       │
  6034. │        C - Clear Tagge│                                │ A - Find Again      │
  6035. │        E - Edit Prefix│ Your Choice ? _                │ L - Load            │
  6036. │        Q - QuickLearn ╘════════════════════════F1 Help═╛ O - Other Info      │
  6037. │        R - Revise                     Edit               P - Print           │
  6038. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  6039. │        U - Untag All              V - Linked Script     ^U - Undo            │
  6040. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  6041. ▒▒▒▒ [1] Clear Attached Notes    [2] Clear Entries and Notes    [ESC] Abort ▒▒▒▒
  6042.  
  6043. ╚════════════════════════════════════════════════╝
  6044.  
  6045. The Clear  Entry window  serves a dual purpose.  It can clear Attached
  6046. Notes from  an entry,  or it  can clear  both the  Notes and the entry
  6047. itself.   Entries cannot  be  deleted  without  Attached  Notes  being
  6048. deleted also.
  6049.  
  6050. In the  example above, entry #5 has an attached Note. Selecting option
  6051. #2 from  the menu  would delete  the Note  file as  well as  clear the
  6052. entry.   If entry  #5 did  not have  an attached  Note and we selected
  6053. Clear Option #1, no action would be taken.
  6054.  
  6055. Version 4.0                                                         89
  6056.  
  6057.  
  6058.  
  6059.  
  6060.  
  6061.  
  6062.    CAUTION:  The menu  option you  select is  applied to ALL tagged
  6063.              entries --  IE: clear all tagged entries, or clear all
  6064.              their attached  notes --.   To clear "Notes only" from
  6065.              certain tagged  entries cannot  be done and requires a
  6066.              separate operation.
  6067.  
  6068. The complete  Phone Book  is backed  up prior to clearing entries; the
  6069. Note files  are not.   Once Attached Notes are cleared, they cannot be
  6070. restored.
  6071.  
  6072.  
  6073. E - Edit Prefixes
  6074. ______________________________________________________________________
  6075. Prefix characters are used at the beginning or end of phone numbers --
  6076. or anywhere  inbetween --  to  add  standard  and  repetitive  dialing
  6077. information to  the numbers  as they  are dialed.   A prefix may be as
  6078. simple as "Dial 9 to get out" or "Dial 1 for long distance", or it may
  6079. hold a  7-digit SPRINT  or MCI  local access number.  When used at the
  6080. end of  a number,  the prefix  becomes a  Suffix which  may be used to
  6081. store a  PBX access code, for example.  In special cases, prefixes may
  6082. even be used to store Alternate Dialing Commands.
  6083.  
  6084.  
  6085.  
  6086.  
  6087.  
  6088.  
  6089.  
  6090.  
  6091.  
  6092.  
  6093.  
  6094.  
  6095.  
  6096.  
  6097.  
  6098.  
  6099.  
  6100.  
  6101.  
  6102.  
  6103.  
  6104.  
  6105.  
  6106.  
  6107.  
  6108.  
  6109.  
  6110.  
  6111.  
  6112.  
  6113. 90                                            Qmodem Operations Manual
  6114.  
  6115.  
  6116.  
  6117.  
  6118.  
  6119. Pressing 'E' displays the Prefix edit window:
  6120.  
  6121. ╔════════════════════════════════════════════════╗
  6122.  
  6123.  
  6124. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  6125. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  6126. │ Total Tags > 2                        Prefixes > ABCEF                       │
  6127. │[D]   Name                             Number          COM        Script      │
  6128. │1  ≡  Test Node at Forbin                  EF555-1212 19200-8-N-1 SYSOP2.SCR  │
  6129. │2                 ╒══════════ Edit Prefixes ══════════╕9200-8-N-1 FORBIN      │
  6130. │3                 │ A  ATDT░░░░░░░░░░░░░░░░░░░░░░░░░░ │9200-8-N-1             │
  6131. │4                 │ B  AT&M0DT░░░░░░░░░░░░░░░░░░░░░░░ │9200-8-N-1             │
  6132. │5                 │ C  AT&M4DT░░░░░░░░░░░░░░░░░░░░░░░ │9200-8-N-1             │
  6133. │6                 │ D  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │9200-8-N-1             │
  6134. │7     GEnie_Local │ E  555-1212,,░░░░░░░░░░░░░░░░░░░░ │1200-8-N-1 GENIE       │
  6135. │8                 │ F  1234567,░░░░░░░░░░░░░░░░░░░░░░ │9200-8-N-1             │
  6136. │9  ≡  Sound of Mus│ G  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │9200-8-N-1 MUSIC!      │
  6137. │10    LANS Node 1 │ H  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │9200-8-N-1 LANS        │
  6138. ╞══════════════════│ I  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │═══════════════════════╡
  6139. │            Entrie│ J  ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │       FON             │
  6140. │    SPACE - Tag/Un╘════════════════════════════F1 Help╛   F - Find Text       │
  6141. │        C - Clear Tagged         ESC - Cancel/Exit        A - Find Again      │
  6142. │        E - Edit Prefixes          M - Manual Dial        L - Load            │
  6143. │        Q - QuickLearn                                    O - Other Info      │
  6144. │        R - Revise                     Edit               P - Print           │
  6145. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  6146. │        U - Untag All              V - Linked Script     ^U - Undo            │
  6147. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  6148. ▒▒▒▒▒▒ Select a Prefix character to Edit.  [F10] to Save   [ESC] to Abort ▒▒▒▒▒▒
  6149.  
  6150. ╚════════════════════════════════════════════════╝
  6151.  
  6152. Qmodem allows up to 10 Prefix codes, assigned the letters  'A' through
  6153. 'J'.  Each prefix code can store up to 30 characters.
  6154.  
  6155. In the  example above,  5 Prefix  codes have  been defined.  Also note
  6156. that the  phone number  for entry  #1 contains codes 'E' and 'F'.  You
  6157. can use multiple Prefix codes in any position of the Number field.
  6158.  
  6159.    CAUTION:  DO  NOT   define  a   phone  number  using  its  Alpha
  6160.              representation.   Numbers such  as "1-800-DECDEMO" may
  6161.              be  a   valid  telephone   number,  but   Qmodem  will
  6162.              substitute the prefix values of letters 'A'-'J' in any
  6163.              phone number.   For  all we  know, 1-800-DECDEMO might
  6164.              get  you  connected  with  Outer  Mongolia  ($98.55  a
  6165.              minute).
  6166.  
  6167.  
  6168.  
  6169.  
  6170.  
  6171. Version 4.0                                                         91
  6172.  
  6173.  
  6174.  
  6175.  
  6176.  
  6177.    NOTE:  Make sure  that the total length of the dialed number AND
  6178.           prefix(es) does  not exceed  your modem's maximum command
  6179.           length.   This maximum  should be  listed in your modem's
  6180.           operation manual.   Most modems limit dialing input to 40
  6181.           characters.
  6182.  
  6183. If you  have a  Hayes-compatible modem,  you will  notice that  Prefix
  6184. codes 'A',  'B', and  'C' look  amazingly similar to the Modem Dialing
  6185. Command   defined in  Alt-N/M/M/P.   That's because these prefixes are
  6186. dialing commands.
  6187.  
  6188. To use  these alternate  dialing commands,  precede the desired prefix
  6189. with the  special character  ` (left  tick mark  or single end quote).
  6190. When Qmodem  detects that  special character,  it will  use the prefix
  6191. code which  immediately follows  instead of  the Alt-N default dialing
  6192. command.    Example:
  6193.  
  6194. ╔════════════════════════════════════════════════╗
  6195.  
  6196. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  6197. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  6198. │ Total Tags > 2                        Prefixes > ABCEF                       │
  6199. │[D]   Name                             Number          COM        Script      │
  6200. │1  ≡  Non-existent Number                  `A555-1212 19200-8-N-1 SYSOP2.SCR  │
  6201. │2     Forbin Project Main Number     `C1-319-233-6157 19200-8-N-1 FORBIN      │
  6202. │3     Another Number not to call           `B555-1212 19200-8-N-1             │
  6203. │4                                                     19200-8-N-1             │
  6204.  
  6205. ╚════════════════════════════════════════════════╝
  6206.  
  6207. The example  above assumes  a USRobotics Courier HST modem.  The HST's
  6208. MNP error-correction mode is enabled with the AT&M4 command, and it is
  6209. disabled with  the AT&M0  command.    The DT "Dial Tone" command tells
  6210. the modem to tone-dial the number which follows.
  6211.  
  6212. In the example above, entry #2 will be dialed with an AT&M4DT command,
  6213. which enables MNP error-correction and dials the Forbin Project (which
  6214. operates a few HST modems). .  Entry #3 will be dialed with an AT&M0DT
  6215. command, which  disables  MNP  error-correction  and  dials  555-1212.
  6216. Entry #1  will be  dialed with  a standard ATDT command which will not
  6217. affect the current state of MNP error correction.
  6218.  
  6219.  
  6220.  
  6221.  
  6222.  
  6223.  
  6224.  
  6225.  
  6226.  
  6227.  
  6228.  
  6229. 92                                            Qmodem Operations Manual
  6230.  
  6231.  
  6232.  
  6233.  
  6234.  
  6235.    TIP:  If you use the ` modifier to enable or disable one or more
  6236.          of your  modem's features,  be sure  to  set  the  default
  6237.          dialing prefix  (Alt-N/M/M/P) to  the mode  which you  use
  6238.          most often.   By  doing this,  you only  need to  override
  6239.          entries that  do not  conform to the default mode.  In the
  6240.          previous example,  your default  dialing prefix  should be
  6241.          "AT&M4DT".   Prefix `B  would   be used  to  dial  non-MNP
  6242.          systems.
  6243.  
  6244.  
  6245.  
  6246. Q - QuickLearn
  6247. ______________________________________________________________________
  6248. Pressing 'Q'  toggles the QuickLearn  tag for the current entry if the
  6249. Script field  is non-blank.   Connecting to a Q-tagged entry activates
  6250. the QuickLearn Script Recorder.
  6251.  
  6252.    TIP:  You can  force QuickLearn  by using  the letter 'Q' to tag
  6253.          the entry  instead of  the SPACEBAR.   When  you  connect,
  6254.          QuickLearn starts rewriting the Script for you!
  6255.  
  6256. Qmodem's QuickLearn  feature is  described in  detail under  the Alt-Q
  6257. command.
  6258.  
  6259.  
  6260.  
  6261.  
  6262.  
  6263.  
  6264.  
  6265.  
  6266.  
  6267.  
  6268.  
  6269.  
  6270.  
  6271.  
  6272.  
  6273.  
  6274.  
  6275.  
  6276.  
  6277.  
  6278.  
  6279.  
  6280.  
  6281.  
  6282.  
  6283.  
  6284.  
  6285.  
  6286.  
  6287. Version 4.0                                                         93
  6288.  
  6289.  
  6290.  
  6291.  
  6292.  
  6293. R - Revise
  6294. ______________________________________________________________________
  6295. The Revise  command is  used to edit Dialing Directory entries.  Since
  6296. all 200  entries already  exist in  the directory,  adding  and  entry
  6297. consists of  editing a  blank one.   Multiple  entries can  be revised
  6298. sequentially if they are previously tagged.  If no entries are tagged,
  6299. pressing 'R'  will cause  revision  of  the  current  entry  (implicit
  6300. tagging).   If multiple entries are tagged, pressing 'R' will position
  6301. the cursor  to the  first tagged  entry and  will display the revision
  6302. window:
  6303.  
  6304. ╔════════════════════════════════════════════════╗
  6305.  
  6306. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  6307. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  6308. │ Total Tags > 2                        Prefixes > ABC                         │
  6309. │[D]   Name                             Number          COM        Script      │
  6310. │1  ≡  Forbin Project BBS               1-319-233-6157 19200-8-N-1 SYSOP2.SCR  │
  6311. │2                 ╒═════════════ Revise Entry ══════════════╕-N-1 FORBIN      │
  6312. │3                 │ Name        Forbin Project BBS░░░░░░░░░ │-N-1             │
  6313. │4                 │ nUmber      1-319-233-6157░░░░░         │-N-1             │
  6314. │5                 │ Password    MYPassword░░░░              │-N-1             │
  6315. │6                 │ Script      Forbin░░░░░░                │-N-1             │
  6316. │7     GEnie_Local │ Baudrate    19200                       │-N-1 GENIE       │
  6317. │8                 │ Databits    8                           │-N-1             │
  6318. │9  ≡  Sound of Mus│ pArity      None                        │-N-1 MUSIC!      │
  6319. │10  √ LANS Node 1 │ sTopbits    1                           │-N-1 LANS        │
  6320. ╞══════════════════│ dupLex      F                           │═════════════════╡
  6321. │            Entrie│ pRotocol    F                           │ FON             │
  6322. │    SPACE - Tag/Un│ lastCall    10-11-88                    │ Find Text       │
  6323. │        C - Clear │ tiMes on    1021                        │ Find Again      │
  6324. │        E - Edit P╘══════════════════════════════════F1 Help╛ Load            │
  6325. │        Q - QuickLearn                                    O - Other Info      │
  6326. │        R - Revise                     Edit               P - Print           │
  6327. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  6328. │        U - Untag All              V - Linked Script     ^U - Undo            │
  6329. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  6330. ▒▒▒▒▒▒▒▒▒▒▒▒ Change the NAME field    [F10] to Save   [ESC] to Abort ▒▒▒▒▒▒▒▒▒▒▒
  6331.  
  6332. ╚════════════════════════════════════════════════╝
  6333.  
  6334. The Revise  Entry menu is similar to the menus used in Alt-N commands.
  6335. To change  a field,  move the  cursor to  it or  type the  highlighted
  6336. letter displayed  in  the  field's  name  and  press  [ENTER].    This
  6337. activates the  Qmodem field  editor  and  you  may  type  the  desired
  6338. information.   Second-level  menus  are  displayed  for  Baudrate  and
  6339. Parity; to  select the  appropriate setting  cursor to  it  and  press
  6340. [ENTER].
  6341.  
  6342.  
  6343.  
  6344.  
  6345. 94                                            Qmodem Operations Manual
  6346.  
  6347.  
  6348.  
  6349.  
  6350.  
  6351. Once you  have completed  the  revisions,  press  [F10]  to  save  the
  6352. changes.   In the  unlikely event  you made  a mistake, pressing [ESC]
  6353. will restore the field's original value.
  6354.  
  6355. When revising  multiple tagged  entries, the  Revise Menu will display
  6356. the entries  one at  a time,  in ascending  numeric sequence.  As each
  6357. entry is saved (or you exit the Revise Menu via [ESC]), the next entry
  6358. will be displayed, until all tagged entries have been processed.
  6359.  
  6360.  
  6361.  
  6362. T - Tag Multiple
  6363. ______________________________________________________________________
  6364. Tag Multiple is used to tag entries based on their entry number or the
  6365. text content  of their  Name, Number field, or Attached Note file.  In
  6366. addition, Tag  Multiple can be used to add or delete Prefix codes from
  6367. entries' phone numbers.
  6368.  
  6369. Pressing 'T' will display a small prompt window in the Command area:
  6370.  
  6371. ╔════════════════════════════════════════════════╗
  6372.  
  6373. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  6374. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  6375. │ Total Tags > 2                        Prefixes > ABC                         │
  6376. │[D]   Name                             Number          COM        Script      │
  6377. │1  ≡  Forbin Project BBS      HST      1-319-233-6157 19200-8-N-1 SYSOP2.SCR  │
  6378. │2     Forbin BBS Hayes V9600 node      1-319-233-6006 19200-8-N-1 FORBIN      │
  6379. │3                                                     19200-8-N-1             │
  6380. │4                                                     19200-8-N-1             │
  6381. │5                                                     19200-8-N-1             │
  6382. │6                                                     19200-8-N-1             │
  6383. │7     GEnie_Local 1200 Baud                `B555-1212  1200-8-N-1 GENIE.SCR   │
  6384. │8                                                     19200-8-N-1             │
  6385. │9  ≡  Sound of Music        V9600    `A1-301-555-1212 19200-8-N-1 MUSIC!      │
  6386. │10    LANS Node 1             HST      1-219-555-1212 19200-8-N-1 LANS        │
  6387. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  6388. │            Entries                    Dial                   FON             │
  6389. │    SPACE - Tag/Untag          ENTER - Starts Dialing     F - Find Text       │
  6390. │        C - Clear Tagged         ESC - Cancel/Exit        A - Find Again      │
  6391. │ ╒═══════════════════════════ Select Entries ════════════════════════════╕    │
  6392. │ │ Numbers to TAG > ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │    │
  6393. │ ╘═══════════════════════════════════════════════════════════════════════╛    │
  6394. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  6395. │        U - Untag All              V - Linked Script     ^U - Undo            │
  6396. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  6397. ▒▒▒▒ Enter line #'s,  P[prefixes]#[suffixes],  T[text]  -or-  [ESC] to Abort ▒▒▒
  6398.  
  6399. ╚════════════════════════════════════════════════╝
  6400.  
  6401.  
  6402.  
  6403. Version 4.0                                                         95
  6404.  
  6405.  
  6406.  
  6407.  
  6408.  
  6409. Let's review the options displyed on the status line.
  6410.  
  6411. "Enter line #'s"         Used to  tag entries based on their number in
  6412. the directory.  To tag entries 1, 22, 23 and 40, you would type:
  6413.  
  6414. ╔══════════════════════════════════════════════════╗
  6415.  
  6416. ╒═══════════════════════════ Select Entries ════════════════════════════╕
  6417. │ Numbers to TAG > 1 22 23 40░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  6418. ╘═══════════════════════════════════════════════════════════════════════╛
  6419.  
  6420. ╚══════════════════════════════════════════════════╝
  6421.  
  6422. This feature  is reminiscent  of  earlier  releases  of  Qmodem  which
  6423. prompted the  user for the numbers to be dialed.  With Qmodem 4.0, you
  6424. must politely  ask for  the prompt  by pressing  T.  We did not forget
  6425. loyal Qmodem  users and  this feature may help you get over the Qmodem
  6426. 4.0 Culture  Shock --  until you learn that tagging is THE ONLY way to
  6427. go, of course --.
  6428.  
  6429.  
  6430. "P[prefixes]#[suffixes]"      A prefix  or suffix  may  be  added  to,
  6431. changed, or  deleted from  an entry's  phone number  by preceding that
  6432. entry's number with the letter 'P'.
  6433.  
  6434. For example,  to dial  entry #1  AND to add the prefix modifier 'A' to
  6435. the beginning and 'B' to the end of the number, you would type:
  6436.  
  6437. ╔══════════════════════════════════════════════════╗
  6438.  
  6439. ╒═══════════════════════════ Select Entries ════════════════════════════╕
  6440. │ Numbers to TAG > PA1B░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  6441. ╘═══════════════════════════════════════════════════════════════════════╛
  6442.  
  6443. ╚══════════════════════════════════════════════════╝
  6444.  
  6445. The 'P'  modifier tells  Qmodem that  one or  more prefix  codes  will
  6446. precede or  follow the entry number, and that these are to be added to
  6447. the entry's  phone number.   In  the example  above, the prefix 'A' is
  6448. added before the number, and 'B' following it:
  6449.  
  6450. ╔════════════════════════════════════════════════╗
  6451.  
  6452. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  6453. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  6454. │ Total Tags > 1                        Prefixes > ABC                         │
  6455. │[D]   Name                             Number          COM        Script      │
  6456. │1  ≡  Forbin Project BBS      HST    A1-319-233-6157B 19200-8-N-1 SYSOP2.SCR  │
  6457.  
  6458. ╚════════════════════════════════════════════════╝
  6459.  
  6460.  
  6461. 96                                            Qmodem Operations Manual
  6462.  
  6463.  
  6464.  
  6465.  
  6466.  
  6467.  
  6468. To REMOVE  Suffix 'B' from entry #1, we would type:
  6469.  
  6470. ╔══════════════════════════════════════════════════╗
  6471.  
  6472. ╒═══════════════════════════ Select Entries ════════════════════════════╕
  6473. │ Numbers to TAG > PA1░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  6474. ╘═══════════════════════════════════════════════════════════════════════╛
  6475.  
  6476. ╚══════════════════════════════════════════════════╝
  6477.  
  6478. Since the  'A' prefix  is kept, it is typed.  'B' was not included, so
  6479. the 'B'  suffix is  removed.   Taking this one step further, to remove
  6480. ALL prefixes/suffixes from entry #1, we would type:
  6481.  
  6482. ╔══════════════════════════════════════════════════╗
  6483.  
  6484. ╒═══════════════════════════ Select Entries ════════════════════════════╕
  6485. │ Numbers to TAG > P1░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  6486. ╘═══════════════════════════════════════════════════════════════════════╛
  6487.  
  6488. ╚══════════════════════════════════════════════════╝
  6489.  
  6490.  
  6491. "T[text]"      Allows tagging  of entries based based on a text search
  6492. of the entries':
  6493.      
  6494.      1.   NAME field,
  6495.      2.   NUMBER field, and
  6496.      3.   Attached NOTE files
  6497.  
  6498. Each text  string to be searched is preceded by the letter 'T'.  Using
  6499. the previous  phone book example, let's tag all the entries in the 319
  6500. area code,  as well  as those  using V9600  modems (we  kept the modem
  6501. information in the Attached Note Files):
  6502.  
  6503. ╔══════════════════════════════════════════════════╗
  6504.  
  6505. ╒═══════════════════════════ Select Entries ════════════════════════════╕
  6506. │ Numbers to TAG > T319 tV9600░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  6507. ╘═══════════════════════════════════════════════════════════════════════╛
  6508.  
  6509. ╚══════════════════════════════════════════════════╝
  6510.  
  6511. Entries 1,2 and 9 would be tagged.
  6512.  
  6513.    NOTE:  The leading  'T' is  not case  sensitive and  text search
  6514.           arguments MUST be separated by at least one space.
  6515.  
  6516.  
  6517.  
  6518.  
  6519. Version 4.0                                                         97
  6520.  
  6521.  
  6522.  
  6523.  
  6524.  
  6525.    NOTE:  Text search  arguments may  not contain  imbedded spaces.
  6526.           The space, the letter 'T', and the end of the prompt line
  6527.           are text search delimiters.
  6528.  
  6529. A Qmodem  Beta tester asked, "I entered the following command, but not
  6530. all the numbers were tagged. Why?"
  6531.  
  6532. ╔══════════════════════════════════════════════════╗
  6533.  
  6534. ╒═══════════════════════════ Select Entries ════════════════════════════╕
  6535. │ Numbers to TAG > 1 to 200░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  6536. ╘═══════════════════════════════════════════════════════════════════════╛
  6537.  
  6538. ╚══════════════════════════════════════════════════╝
  6539.  
  6540. Well, Qmodem isn't quite that smart yet.  Maybe in a future release...
  6541. However, here is how Qmodem interpreted that command:
  6542.  
  6543.   1. Tag entry number 1.
  6544.   2. Search for the text 'o' in the Name, Number and Note files.
  6545.   3. Tag entry number 200.
  6546.  
  6547. Since the  letter 'o'  is fairly  common (right Vanna?) 90% or more of
  6548. the entries  would end  up tagged.   Entries 1 and 200 were explicitly
  6549. asked for, and were tagged.
  6550.  
  6551. Tag Multiple is a powerful tool in the Alt-D arsenal.
  6552.  
  6553.  
  6554.  
  6555. U - Untag All
  6556. ______________________________________________________________________
  6557. Pressing 'U' will remove all tags in the directory.
  6558.  
  6559.    NOTE:  When you are about to use an "Implied Tag" command on the
  6560.           current entry,  make sure  other entries  are not  tagged
  6561.           (the tag  count is  displayed at the top of the directory
  6562.           screen).   If entries  are tagged,  you may  want to  use
  6563.           Untag All  to remove  the tags before proceeding with the
  6564.           command.
  6565.  
  6566.  
  6567.  
  6568.  
  6569.  
  6570.  
  6571.  
  6572.  
  6573.  
  6574.  
  6575.  
  6576.  
  6577. 98                                            Qmodem Operations Manual
  6578.  
  6579.  
  6580.  
  6581.  
  6582.  
  6583. Dial
  6584. ENTER - Starts dialing
  6585. ______________________________________________________________________
  6586. Pressing [ENTER]  will begin dialing tagged entries in numerical order
  6587. starting from  the current  scrollbar position.   If  no  entries  are
  6588. tagged, the  current entry will be tagged and dialed immediately.  The
  6589. Redialer will  cycle through  the tagged entries until a connection is
  6590. made or you press [ESC] to halt the process.
  6591.  
  6592.    NOTE:  Qmodem will  not dial  entries with  blank phone numbers.
  6593.           The information  in the  number field  is not checked for
  6594.           validity.
  6595.  
  6596. The Dial/Redial  window has  been refined  for version  4.0.  Although
  6597. similar to  previous releases of Qmodem, the information displayed has
  6598. been re-arranged to make it easier to track your progress.
  6599.  
  6600. ╔════════════════════════════════════════════════╗
  6601.  
  6602. ╞══════════════════════════════════ Redialer ══════════════════════════════════╡
  6603. │                                                                              │
  6604. │     Name   : Forbin Project PCBoard                   Last On : 12-01-88     │
  6605. │     Number : 1-319-233-6157                           Total # : 807          │
  6606. │     Script : FORBIN.SCR                               Attempt : 1            │
  6607. │                                                                              │
  6608. │     Modem  : ATDT1-319-233-6157                       Start   : 10:26:23     │
  6609. │     Status : 45  Seconds remain until Cycle           Current : 10:26:23     │
  6610. │                                                                              │
  6611. ╘══════════════════════════════════════════════════════════════════════════════╛
  6612. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒ [C]ycle  [K]ill  [X]tend Timer  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒
  6613.  
  6614. ╚════════════════════════════════════════════════╝
  6615.  
  6616. The Qmodem  Dialer screen  is divided into four areas, each containing
  6617. information relating  to the  call in  progress and to the entry being
  6618. dialed:
  6619.  
  6620. The upper left screen quadrant identifies the dialed entry by name and
  6621. phone number, and the name of the attached Script, if any.
  6622.  
  6623. The lower  left screen  quadrant tracks the commands sent to the modem
  6624. and the  responses received  from it.  The status line displays timely
  6625. information on the call in progress.
  6626.  
  6627. The upper right screen quadrant displays the date of last connect, the
  6628. total number  of successful connections to the entry being dialed, and
  6629. the number of dialing attempts during the current session.
  6630.  
  6631. The lower right screen quadrant displays the time at which the dialing
  6632. session was started, as well as the current time of day.
  6633.  
  6634.  
  6635. Version 4.0                                                         99
  6636.  
  6637.  
  6638.  
  6639.  
  6640.  
  6641. While in the dialer window, the following commands are valid:
  6642.  
  6643.   [C]ycle
  6644.   
  6645.      Pressing 'C'  cancels the current call and start dialing the next
  6646.      tagged entry.
  6647.   
  6648.   
  6649.   [K]ill
  6650.   
  6651.      Pressing 'K'  cancels the current call and untags it, effectively
  6652.      removing it from the dialing queue.
  6653.   
  6654.   
  6655.   [X]tend Timer
  6656.   
  6657.      Pressing   'X' key  increases the  dial cycle delay by 5 seconds.
  6658.      The cycle  delay is  the  amount  of  time  Qmodem  waits  for  a
  6659.      connection before  dialing the  next entry  (or the same entry if
  6660.      only  one  is  being  called).  This  delay  is  defined  in  the
  6661.      Alt-N/M/C/H setup menu.
  6662.   
  6663.   
  6664.   [ESC]
  6665.   
  6666.      Pressing ESC  cancels the  current call  and  exits  the  dialer.
  6667.      Explicitly tagged entries remain tagged.
  6668.  
  6669.  
  6670.  
  6671. Status Messages
  6672. ______________________________________________________________________
  6673. The Status  message area  in the  lower left  screen quadrant  reports
  6674. messages from  the modem  and the dialer.  Modem messages are returned
  6675. in response to dialing commands and may include codes such as BUSY, NO
  6676. CARRIER, VOICE, etc...
  6677.  
  6678.    NOTE:  Extended responses  such as  BUSY, VOICE, and RINGING may
  6679.           not be  implemented by your particular modem.  Check your
  6680.           modem  manual   to  determine   which  return  codes  are
  6681.           available.   Modem responses are defined in the Alt-N/M/M
  6682.           setup menu.
  6683.  
  6684. The Dialer may return the following status messages:
  6685.  
  6686.   Manual Cycle
  6687.   
  6688.      You pressed 'C' to Cycle.
  6689.   
  6690.   
  6691.  
  6692.  
  6693. 100                                           Qmodem Operations Manual
  6694.  
  6695.  
  6696.  
  6697.  
  6698.  
  6699.   Number has been un-tagged
  6700.   
  6701.      'K' was pressed to remove the entry.
  6702.   
  6703.   
  6704.   ESC pressed, Dialing aborted
  6705.   
  6706.      [ESC] was pressed, and you are returned to Command mode.
  6707.   
  6708.   
  6709.   Dial timing period expired
  6710.   
  6711.      The cycle delay expired before a connection was made.
  6712.   
  6713.   
  6714.   Line busy or modem timed out
  6715.   
  6716.      One of  the 4  modem Error  messages (Alt-N/M/M) was returned and
  6717.      the call was cancelled.
  6718.   
  6719.   
  6720.   CONNECTED, press a key to continue
  6721.   
  6722.      The modem  returned the  Connect message (Alt-N/M/M/C) and is now
  6723.      online.   If the  entry has an attached script, this message will
  6724.      be immediately  erased, Qmodem  will exit the dialer, and control
  6725.      will be  passed to  the script.   If no script is attached to the
  6726.      entry, press  any key  to return to the Qmodem terminal screen to
  6727.      view the online session.
  6728.   
  6729.   
  6730.   Redial pausing XXX
  6731.   
  6732.      The previous  attempt was  unsuccessful and the dialer is waiting
  6733.      before placing the next call.
  6734.   
  6735.   
  6736.   Dialing halted. Incoming call detected
  6737.   
  6738.      The Redial Cancel message (Alt-N/M/M/R) was received between dial
  6739.      attempts, indicating  that a  call is  being received at the same
  6740.      time dialing is attempted.
  6741.   
  6742.   
  6743.   XXX Seconds remain until Cycle
  6744.   
  6745.      The current  call is  in progress.   After XXX  seconds, the call
  6746.      will be  cancelled if  a connection  is  not  established.    The
  6747.      original delay is specified in the Alt-N/M/C/H setup menu.
  6748.   
  6749.  
  6750.  
  6751. Version 4.0                                                        101
  6752.  
  6753.  
  6754.  
  6755.  
  6756.  
  6757.    NOTE:  Most modems  have an  internal timer which will cause the
  6758.           unit to  hang up  after waiting for a specific time for a
  6759.           connection to  be made  (most have  a 60 second default).
  6760.           If the  modem hangs  up before  the Qmodem delay expires,
  6761.           your modem's delay is shorter than the Qmodem Alt-N/M/C/H
  6762.           setting.  It is recommended to set the modem's delay to a
  6763.           value  high  enough  not  to  conflict  with  the  Qmodem
  6764.           setting.
  6765.  
  6766.  
  6767. Parameters passed to the Linked Scripts
  6768. ______________________________________________________________________
  6769. Prior to passing control to a linked script, Qmodem updates the values
  6770. in the following pre-assigned string variables:
  6771.  
  6772.           $BOARD         - the name of field.
  6773.           $NUMBER        - the number called.
  6774.           $SPEED         - the current baud rate.
  6775.           $COM           - the parity, data and stop bits.
  6776.           $PASSWORD      - the password field.
  6777.           $PROTOCOL      - the default transfer protocol.
  6778.           $SCRIPT        - the name of the linked script.
  6779.           $NOTEFILE      - the name of the attached Note file.
  6780.  
  6781. These variables remain in effect for the duration of the script.
  6782.  
  6783. For more  information on  scripts and  string variables,  refer to the
  6784. Script Language Section in this manual.
  6785.  
  6786.  
  6787.  
  6788.  
  6789. ESC - Exit Dialing Directory
  6790. ______________________________________________________________________
  6791. Pressing [ESC]  will exit  the dialing  directory and return Qmodem to
  6792. the terminal screen.  Any entries that were tagged will remain tagged.
  6793.  
  6794.  
  6795.  
  6796.  
  6797.  
  6798.  
  6799.  
  6800.  
  6801.  
  6802.  
  6803.  
  6804.  
  6805.  
  6806.  
  6807.  
  6808.  
  6809. 102                                           Qmodem Operations Manual
  6810.  
  6811.  
  6812.  
  6813.  
  6814.  
  6815. M - Manual Dial
  6816. ______________________________________________________________________
  6817. When a  number is  not in  the dialing  directory, it  can  be  dialed
  6818. manually.  Pressing 'M' displays the Manual Dial window:
  6819.  
  6820. ╔════════════════════════════════════════════════╗
  6821.  
  6822. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  6823. │            Entries                    Dial                   FON             │
  6824. │    SPACE - Tag/Untag          ENTER - Starts Dialing     F - Find Text       │
  6825. │        C - Clear Tagged         ESC - Cancel/Exit        A - Find Again      │
  6826. │        E -╒═════════════════ Manual Dial ══════════════════╕ Load            │
  6827. │        Q -│ Phone number > ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░  │ Other Info      │
  6828. │        R -╘════════════════════════════════════════════════╛ Print           │
  6829. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  6830. │        U - Untag All              V - Linked Script     ^U - Undo            │
  6831. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  6832. ▒▒▒▒▒▒▒▒▒▒▒▒▒ Enter the phone number to call  -or-  [ESC] to Abort ▒▒▒▒▒▒▒▒▒▒▒▒▒
  6833.  
  6834. ╚════════════════════════════════════════════════╝
  6835.  
  6836. Manual dial  commands may  contain up  to 30 characters and/or digits.
  6837. The number  is not  checked for  validity; the data typed in the Phone
  6838. Number field will be passed to the modem unchanged.
  6839.  
  6840.  
  6841.  
  6842. Edit
  6843. N - Attached Notes
  6844. ______________________________________________________________________
  6845. Textual information  can be  "Attached" to  each directory  entry  and
  6846. retrieved with a single keystroke.  The data is stored in special Note
  6847. Files which can be edited with Qmodem's Internal Editor, or any editor
  6848. of your choice (as defined in Alt-N/F/V).
  6849.  
  6850.  
  6851.  
  6852.  
  6853.  
  6854.  
  6855.  
  6856.  
  6857.  
  6858.  
  6859.  
  6860.  
  6861.  
  6862.  
  6863.  
  6864.  
  6865.  
  6866.  
  6867. Version 4.0                                                        103
  6868.  
  6869.  
  6870.  
  6871.  
  6872.  
  6873. To create  a note file, update an existing note, or view one, move the
  6874. scrollbar cursor  to the  entry and press 'N'.  The Note command is an
  6875. immediate command  and does  not affect  the tagging of other entries.
  6876. When you press 'N', the current entry's Note File will be edited.  The
  6877. following example demonstrates the use of the Qmodem Internal Editor:
  6878.  
  6879. ╔════════════════════════════════════════════════╗
  6880.  
  6881. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  6882. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  6883. │ Total Tags > 2                        Prefixes > ABC                         │
  6884. │[D]   Name                             Number          COM        Script      │
  6885. │1  ≡  Test Node at Forbin                    555-1212 19200-8-N-1 SYSOP2.SCR  │
  6886. │2     Forbin Project Main Number             233-6157 19200-8-N-1 FORBIN      │
  6887. │3                                                     19200-8-N-1             │
  6888. │4                                                     19200-8-N-1             │
  6889. │5                                                     19200-8-N-1             │
  6890. │6                                                     19200-8-N-1             │
  6891. │7   Q GEnie_Local 1200 Baud                `B277-4741  1200-8-N-1 GENIE       │
  6892. │8                                                     19200-8-N-1             │
  6893. │9  ≡√ Sound of Music        V9600    `A1-900-666-5555 19200-8-N-1 MUSIC!      │
  6894. │10    LANS Node 1             HST      1-219-884-9508 19200-8-N-1 LANS        │
  6895. ╒═══════════════════════ Notes for Test Node at Forbin ════════════════════════╕
  6896. │      Line 1    Col 1   Insert Indent     C:QMODEM.1                          │
  6897. │NAME: Forbin Project PCBoard BBS                                              │
  6898. │DESC: Home of Qmodem,                                                         │
  6899. │BBS : PCBoard  (Alpha test site)                                              │
  6900. │BAUD: 1200/2400/9600/19200                                                    │
  6901. │MODM: Courier_HST                                                             │
  6902. │HRS : 24 hrs/day, 7 days/week                                                 │
  6903. │NETS: InterLink, SmartNet                                                     │
  6904. ╘══════════════════════════════════════════════════════════════════════F1 Help═╛
  6905. ▒▒▒▒▒▒▒▒▒▒▒▒ F1-Help  F2-Save  F3-New  F9,ESC-Abort  F10-Save & Exit ▒▒▒▒▒▒▒▒▒▒▒
  6906.  
  6907. ╚════════════════════════════════════════════════╝
  6908.  
  6909. The internal  editor screen overlays the command area at the bottom of
  6910. the screen.   The current entry's name is shown in the editor window's
  6911. label.   The maximum  size of  a note  file is  limited by  the memory
  6912. allocated to  the Qmodem  Internal Editor  (defined in Alt-N/O/M/E) or
  6913. the limit imposed by your own external editor.
  6914.  
  6915.    TIP:  In the  example above,  the note  is used  to store useful
  6916.          information  which  cannot  be  stored  into  the  dialing
  6917.          directory itself.  Using this method to document directory
  6918.          entries allows  the use  of the Text Search function (or a
  6919.          text search  argument in  a Tag command) to locate entries
  6920.          based on  BBS software,  the type  of  modem  in  use,  or
  6921.          supported baud rates.
  6922.  
  6923.  
  6924.  
  6925. 104                                           Qmodem Operations Manual
  6926.  
  6927.  
  6928.  
  6929.  
  6930.  
  6931. The names  assigned to  Note Files are transparent to the user.  These
  6932. names are  assigned permanently  when the  directory is created.  Note
  6933. files have  the same  file name  as the  directory to  which they  are
  6934. attached, and  their file  extension is  a number in the range 1..200,
  6935. corresponding to  the entry  to  which  that  specific  note  file  is
  6936. attached.   The name  of each  note file  is stored  in each directory
  6937. entry, which  allows sorting  of the directory without losing the Note
  6938. File linkage.
  6939.  
  6940.    NOTE:  If you  upgraded from  a previous  release of Qmodem, you
  6941.           MUST run  the UPGRADE.EXE  program included  with the new
  6942.           4.0 release  BEFORE  you  run  the  Qmodem  4.0  program.
  6943.           Failure to do so will cause unpredictable results because
  6944.           the Note Number was not set.
  6945.    
  6946.    NOTE:  If you  use an external editor, make sure that is creates
  6947.           standard CR/LF-delimited  ASCII files to insure that text
  6948.           search commands work properly.
  6949.  
  6950. If an  entry has  an attached Note, a special symbol will be displayed
  6951. immediately following  the entry  number in  the directory.    In  the
  6952. previous example,  entries 1  and 9 have attached Notes and the three-
  6953. bar character is being used.
  6954.  
  6955.    TIP:  The Attached  Notes identifier  can  be  changed  via  the
  6956.          Alt-N/O/C setup menu.
  6957.  
  6958.  
  6959.  
  6960. V - Linked Scripts
  6961. ______________________________________________________________________
  6962. "Linked Scripts"  are executed  when the  connection  is  established.
  6963. These are  commonly referred  to as  "Logon Scripts".    Pressing  'V'
  6964. allows editing  of linked  scripts, much in the same way as the Revise
  6965. Entry command.   The  'V' command  operates the  same way  as the  'N'
  6966. command in  that it  is immediate  and does  not affect the tagging of
  6967. other entries.   When you press 'V', the current entry's linked script
  6968. will be edited.
  6969.  
  6970. When editing  a linked  script, the  Qmodem Internal  Editor uses  the
  6971. entire screen area.
  6972.  
  6973.    NOTE:  The Script  field cannot  be blank  for the  editor to be
  6974.           invoked successfully.
  6975.  
  6976.  
  6977.  
  6978.  
  6979.  
  6980.  
  6981.  
  6982.  
  6983. Version 4.0                                                        105
  6984.  
  6985.  
  6986.  
  6987.  
  6988.  
  6989. Following is  a sample  Linked Script  Edit Screen  (using the  Qmodem
  6990. Internal Editor, of course):
  6991.  
  6992. ╔════════════════════════════════════════════════╗
  6993.  
  6994. ╒══════════════════════════════ Full Screen Edit ══════════════════════════════╕
  6995. │      Line 1    Col 1   Insert Indent     E:SYSOP2.SCR                        │
  6996. │;                                                                             │
  6997. │;  QuickLearn Script generated at 02:35:18 on 08-22-88                        │
  6998. │;  May require editing before use.                                            │
  6999. │;                                                                             │
  7000. │TurnOn   8_BIT                                                                │
  7001. │TurnOff  LINEFEED                                                             │
  7002. │TurnOn   XON/XOFF                                                             │
  7003. │TurnOff  NOISE                                                                │
  7004. │TurnOff  MUSIC                                                                │
  7005. │TurnOn   SCROLL                                                               │
  7006. │TurnOff  PRINT                                                                │
  7007. │TurnOff  ECHO                                                                 │
  7008. │                                                                              │
  7009. │TimeOut  30     ; Set Waitfor timeout to 30 seconds                           │
  7010. │                                                                              │
  7011. │Waitfor  "want ANSI Graphics (Enter)=no?"                                     │
  7012. │Delay    100                                                                  │
  7013. │Send     "n q^M"                                                              │
  7014. │                                                                              │
  7015. │Waitfor  "What is your first name?"                                           │
  7016. │Delay    100                                                                  │
  7017. ╘══════════════════════════════════════════════════════════════════════F1 Help═╛
  7018. ▒▒▒▒▒▒▒▒▒▒▒▒ F1-Help  F2-Save  F3-New  F9,ESC-Abort  F10-Save & Exit ▒▒▒▒▒▒▒▒▒▒▒
  7019.  
  7020. ╚════════════════════════════════════════════════╝
  7021.  
  7022.  
  7023.  
  7024. F - Find Text
  7025. ______________________________________________________________________
  7026. The Find  Text command  is used  to quickly scan the dialing directory
  7027. for a  specific text  string.  Entry Names, Phone Numbers and Attached
  7028. Notes are searched starting with entry #1.
  7029.  
  7030. Following the  search, the  scrollbar cursor will be positioned on the
  7031. first matching  entry (if  any).   Unlike the  Tag  Multiple  command,
  7032. matching entries  are NOT  tagged.  Also, unlike Tag Multiple, you may
  7033. only specify  one search argument.  With the Find Text command, search
  7034. arguments may contain imbedded spaces.
  7035.  
  7036.  
  7037.  
  7038.  
  7039.  
  7040.  
  7041. 106                                           Qmodem Operations Manual
  7042.  
  7043.  
  7044.  
  7045.  
  7046.  
  7047. Pressing 'F' displays the Find Text prompt:
  7048.  
  7049. ╔════════════════════════════════════════════════╗
  7050.  
  7051. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  7052. │            Entries                    Dial                   FON             │
  7053. │    SPACE - Tag/Untag          ENTER - Starts Dialing     F - Find Text       │
  7054. │        C - Clear Tagged         ESC - Cancel/Exit        A - Find Again      │
  7055. │        E - Edit Pr╒═══════════════ Find Text ════════════════╕oad            │
  7056. │        Q - QuickLe│ Search for > ░░░░░░░░░░░░░░░░░░░░░░░░░░░ │ther Info      │
  7057. │        R - Revise ╘══════════════════════════════════════════╛rint           │
  7058. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  7059. │        U - Untag All              V - Linked Script     ^U - Undo            │
  7060. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  7061. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Enter the text to scan for  -or-  [ESC] to Abort ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  7062.  
  7063. ╚════════════════════════════════════════════════╝
  7064.  
  7065.    NOTE:  Remember that  the text search also scans all Note Files.
  7066.           As a  result, if  the text is not found, the search could
  7067.           take a few seconds.  In addition, it is possible that the
  7068.           matching text  is in  a Note File, rather than and in the
  7069.           entry's name  or number.   If that is the case, press 'N'
  7070.           to see the note file.  Don't go off the deep end thinking
  7071.           that the text search command is broken; it isn't.
  7072.  
  7073. If the  last entry  is reached  before a match is found, the following
  7074. window will be displayed:
  7075.  
  7076. ╔════════════════════════════════════════════════╗
  7077.  
  7078.                ╒═════ Status ══════╕
  7079.                │  Text not found   │
  7080.                ╘═══════════════════╛
  7081.  
  7082. ╚════════════════════════════════════════════════╝
  7083.  
  7084.  
  7085.  
  7086.  
  7087.  
  7088.  
  7089.  
  7090.  
  7091.  
  7092.  
  7093.  
  7094.  
  7095.  
  7096.  
  7097.  
  7098.  
  7099. Version 4.0                                                        107
  7100.  
  7101.  
  7102.  
  7103.  
  7104.  
  7105. A - Find Again
  7106. ______________________________________________________________________
  7107. The Find  Again command  repeats the  last Find  Text command from the
  7108. next entry forward.  If no additional matches are found, the following
  7109. window will be displayed:
  7110.  
  7111. ╔════════════════════════════════════════════════╗
  7112.  
  7113.                ╒═════ Status ══════╕
  7114.                │  No more matches  │
  7115.                ╘═══════════════════╛
  7116.  
  7117. ╚════════════════════════════════════════════════╝
  7118.  
  7119.  
  7120. L - LOAD
  7121. ______________________________________________________________________
  7122. The 'L'  command is  used to load an alternate phone book.  If the new
  7123. phone book does not exist, you will be prompted to create it.
  7124.  
  7125. Pressing 'L' displays the following window:
  7126.  
  7127. ╔════════════════════════════════════════════════╗
  7128.  
  7129. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  7130. │            Entries                    Dial                   FON             │
  7131. │  ╒═════════════════════════ FON File Allocation ═════════════════════════╕   │
  7132. │  │                                                                       │   │
  7133. │  │  > C:\QMODEM\QMODEM.FON░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │   │
  7134. │  │                                                                       │   │
  7135. │  ╘══════════════════════════════════════════════════════════ / F1 Help═╛   │
  7136. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  7137. │        U - Untag All              V - Linked Script     ^U - Undo            │
  7138. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  7139. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  7140.  
  7141. ╚════════════════════════════════════════════════╝
  7142.  
  7143. To load  a new phone book, type its name (with optional drive and path
  7144. information) in  the prompt window and [ENTER].  The .FON extension is
  7145. not required; it is assumed by Qmodem.
  7146.  
  7147. If the  file does  not exist,  a new one will be created automatically
  7148. using the default parameters defined in the Alt-N/M/C Setup Menu.
  7149.  
  7150.  
  7151.  
  7152.  
  7153.  
  7154.  
  7155.  
  7156.  
  7157. 108                                           Qmodem Operations Manual
  7158.  
  7159.  
  7160.  
  7161.  
  7162.  
  7163. Starting with  Qmodem 4.0,  all phone  book files  must  have  a  .FON
  7164. extension.   Should you  use pre-4.0 phone books with a different file
  7165. extension, they  must be  renamed to the mandatory .FON file type (the
  7166. filename may  have to  be changed  as well  to  prevent  duplication).
  7167. This was  made necessary  when Attached  Notes were  added to  Qmodem.
  7168. Since the  Note Files are assigned the same name as the directory they
  7169. are attached  to,  duplicate phone book filenames would present severe
  7170. conflicts.
  7171.  
  7172. This restriction can be circumvented if phone books reside in separate
  7173. sub-directories as  long as  the main Qmodem phone book file extension
  7174. is .FON. (ie, QMODEM.FON)
  7175.  
  7176.  
  7177.  
  7178.  
  7179.  
  7180.  
  7181.  
  7182.  
  7183.  
  7184.  
  7185.  
  7186.  
  7187.  
  7188.  
  7189.  
  7190.  
  7191.  
  7192.  
  7193.  
  7194.  
  7195.  
  7196.  
  7197.  
  7198.  
  7199.  
  7200.  
  7201.  
  7202.  
  7203.  
  7204.  
  7205.  
  7206.  
  7207.  
  7208.  
  7209.  
  7210.  
  7211.  
  7212.  
  7213.  
  7214.  
  7215. Version 4.0                                                        109
  7216.  
  7217.  
  7218.  
  7219.  
  7220.  
  7221. O - Other Info
  7222. ______________________________________________________________________
  7223. Pressing 'O'  alternates the  dialing  directory  display  and  allows
  7224. viewing of the "right Half" of the directory information. Following is
  7225. a directory  display after  the 'O'  key was  pressed.   Note the  new
  7226. information shown:
  7227.  
  7228. ╔════════════════════════════════════════════════╗
  7229.  
  7230. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  7231. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  7232. │ Total Tags > 0                        Prefixes > ABC                         │
  7233. │[D]   Name                              Password        LastCall Total P D    │
  7234. │1  ≡  Test Node at Forbin               testing         08-22-88 854   F F    │
  7235. │2     Forbin Project Main Number        Sysop!          08-18-88 619   F F    │
  7236. │3                                                                0       F    │
  7237. │4                                                                0       F    │
  7238. │5                                                                0       F    │
  7239. │6                                                                0       F    │
  7240. │7     GEnie_Local 1200 Baud             Qmodem          08-17-88 412   1 H    │
  7241. │8                                                                0       F    │
  7242. │9  ≡  Sound of Music        V9600                       08-22-88 122   G F    │
  7243. │10    LANS Node 1             HST       Qmodem          08-07-88 113   F F    │
  7244. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  7245. │            Entries                    Dial                   FON             │
  7246. │    SPACE - Tag/Untag          ENTER - Starts Dialing     F - Find Text       │
  7247. │        C - Clear Tagged         ESC - Cancel/Exit        A - Find Again      │
  7248. │        E - Edit Prefixes          M - Manual Dial        L - Load            │
  7249. │        Q - QuickLearn                                    O - Other Info      │
  7250. │        R - Revise                     Edit               P - Print           │
  7251. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  7252. │        U - Untag All              V - Linked Script     ^U - Undo            │
  7253. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  7254. ▒▒▒▒ Move Bar :  PgUp PgDn ^PgUp ^PgDn    [ENTER] to Dial    [ESC] to Exit ▒▒▒
  7255.  
  7256. ╚════════════════════════════════════════════════╝
  7257.  
  7258. The additional directory information displayed includes fields labeled
  7259. LastCall, Total,  P, and  E.   "LastCall" (last  CONNECT  date)    and
  7260. "Total"  (total   CONNECTS)  are   maintained  by  Qmodem,  while  the
  7261. P(rotocol) and E(Cho, or Duplex setting) fields are user-defined.
  7262.  
  7263.    NOTE:  Qmodem does  not maintain  a  "Last  Dialed"  and  "Total
  7264.           Dialed" fields; the Last Call and Total fields shown only
  7265.           reflect successful CONNECTIONS to the entry.
  7266.  
  7267.  
  7268.  
  7269.  
  7270.  
  7271.  
  7272.  
  7273. 110                                           Qmodem Operations Manual
  7274.  
  7275.  
  7276.  
  7277.  
  7278.  
  7279. P - Print
  7280. ______________________________________________________________________
  7281. The 'P'  (print) command  produces a formatted ASCII copy of the Phone
  7282. Book on  a printer  or text  file.    When  pressing 'P',  Qmodem will
  7283. prompt you  for a  valid DOS  device device  or filename.  The default
  7284. (PRN) routes  the output  to the printer (usually LPT1:).  By changing
  7285. the default  to a  valid DOS filename, the output is redirected to the
  7286. selected file.
  7287.  
  7288. Pressing 'P' displays the following window:
  7289.  
  7290. ╔════════════════════════════════════════════════╗
  7291.  
  7292. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  7293. │            Entries                    Dial                   FON             │
  7294. │    SPACE - Tag/Untag          ENTER - Starts Dialing     F - Find Text       │
  7295. │        C - Clear Tagged         ESC - Cancel/Exit        A - Find Again      │
  7296. │ ╒═══════════════════════════ Print Phone Book ════════════════════════════╕  │
  7297. │ │ Device or File >   PRN░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │  │
  7298. │ ╘═════════════════════════════════════════════════════════════════════════╛  │
  7299. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  7300. │        U - Untag All              V - Linked Script     ^U - Undo            │
  7301. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  7302. ▒▒▒▒▒▒▒▒▒▒ Enter the destination device or filename.   [ESC] to Abort ▒▒▒▒▒▒▒▒▒▒
  7303.  
  7304. ╚════════════════════════════════════════════════╝
  7305.  
  7306. Note the  PRN default  in the  window.   To override it, backspace and
  7307. type  the new device or filename:
  7308.  
  7309. ╔══════════════════════════════════════════════════╗
  7310.  
  7311.   ╒═══════════════════════════ Print Phone Book ════════════════════════════╕
  7312.   │ Device or File >   C:\QMODEM\PHONEPRN.TXT░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  7313.   ╘═════════════════════════════════════════════════════════════════════════╛
  7314.  
  7315. ╚══════════════════════════════════════════════════╝
  7316.  
  7317. The above example will create a phone book listing and store it in the
  7318. file PHONEPRN.TXT  in the  C:\QMODEM directory.   Other  valid devices
  7319. include LPT1:, LPT2:, LPT3:, COM1:, etc...
  7320.  
  7321.  
  7322.  
  7323.  
  7324.  
  7325.  
  7326.  
  7327.  
  7328.  
  7329.  
  7330.  
  7331. Version 4.0                                                        111
  7332.  
  7333.  
  7334.  
  7335.  
  7336.  
  7337. Following is a sample of the formatted phone book listing:
  7338.  
  7339. ╔════════════════════════════════════════════════╗
  7340.  
  7341.                      Qmodem Version 4.0 Phone Book
  7342.                      =============================
  7343.  
  7344.   Page  1 of C:\QMODEM\QMODEM.FON
  7345.  
  7346.            Name                           Number          Com        Script
  7347. ------------------------------------------------------------------------------
  7348. 1   -------- FORBIN NUMBERS --- --------------------  19200-8-N-1  SYSOP2
  7349. 2   Subscription LineTwo    HST             233-6157  19200-8-N-1  SYSOP2
  7350. 3   Subscription LineThree  HST             233-6256  19200-8-N-1  SYSOP2
  7351. 4   Subscription LineFour   HST             233-6324  19200-8-N-1  SYSOP2
  7352. 5   Subscription LineFive V9600             233-6006  19200-8-N-1  SYSOP2
  7353. 6   ExecNet               QMAIL       1-914-667-4759  19200-8-N-1  EXECMAIL
  7354. 7   The Executive Network   HST       1-914-667-4759  19200-8-N-1  EXECNET
  7355. 8   Cheers!                 HST       1-901-373-5941  19200-8-N-1  CHEERS
  7356. 9   GEnie_Local 1200 Baud                   277-4741   1200-8-N-1  GENIE.F2
  7357. 10  Salt Air PCBoard        HST       1-801-261-8977  19200-8-N-1  SALT-AIR
  7358. 11  Hayes Support BBS     V9600                       19200-8-N-1  HAYES
  7359.  
  7360.                 Qmodem Copyright (C)  The Forbin Project, Inc.
  7361.  
  7362. ╚════════════════════════════════════════════════╝
  7363.  
  7364. The previous  display is  a sample printout merged into this document.
  7365. Your own  output will  be different,  of course.  Each page contains a
  7366. standard header  with page  numbers, the  name of the Phone Book being
  7367. printed, and the actual phone book entries.
  7368.  
  7369. The entry  numbers shown  in the  listing  are  assigned  sequentially
  7370. starting with  number 1.   Since  the Print  command does  not process
  7371. blank entries,  these   number are NOT the same as the entries' number
  7372. shown in the Phone Book
  7373.  
  7374.    NOTE:  Entries and  listing numbers  will match  only  if  blank
  7375.           entries appear  at the  end of  the phone  book -- ie, no
  7376.           empty entries are imbedded between non-blank entries --.
  7377.  
  7378.  
  7379.  
  7380.  
  7381.  
  7382.  
  7383.  
  7384.  
  7385.  
  7386.  
  7387.  
  7388.  
  7389. 112                                           Qmodem Operations Manual
  7390.  
  7391.  
  7392.  
  7393.  
  7394.  
  7395. S - Sort
  7396. ______________________________________________________________________
  7397. The Sort  command, as  its name indicates, sorts the phone book in one
  7398. of three user-selected sequences::
  7399.   
  7400.   1. By Name field
  7401.   2. By Phone Number field
  7402.   3. By Total Connects
  7403.  
  7404. Pressing 'S' displays the following window:
  7405.  
  7406. ╔════════════════════════════════════════════════╗
  7407.  
  7408. ╞══════════════════════════════════ Commands ══════════════════════════════════╡
  7409. │            Entries                    Dial                   FON             │
  7410. │    SPACE - Tag/Untag      ╒══════ Sort by ══════╕ing     F - Find Text       │
  7411. │        C - Clear Tagged   │ 1 - Name (A)        │        A - Find Again      │
  7412. │        E - Edit Prefixes  │ 2 - Number (A)      │        L - Load            │
  7413. │        Q - QuickLearn     │ 3 - Total Calls (D) │        O - Other Info      │
  7414. │        R - Revise         ╘══════════════F1 Help╛        P - Print           │
  7415. │        T - Tag Multiple           N - Attached Note      S - Sort            │
  7416. │        U - Untag All              V - Linked Script     ^U - Undo            │
  7417. ╘════════════════════════════════════════════════════════════════════F1 Help═══╛
  7418. ▒▒▒▒▒▒▒▒▒▒▒ Select the field to Sort by.      (A)cending  (D)ecending ▒▒▒▒▒▒▒▒▒▒
  7419.  
  7420. ╚════════════════════════════════════════════════╝
  7421.  
  7422. To select  the sort  field, press  '1', '2', or '3' to Sort,  or press
  7423. [ESC] to cancel the operation.  Name and Number sorts are in Ascending
  7424. ASCII sequence  (A), with   number being sorted before letters.  Sorts
  7425. by Total  Calls are  in Descending  sequence.   As a result, the most-
  7426. frequently called  entries will  move toward the top of the Phone Book
  7427. (higher numbers being placed first).
  7428.  
  7429.    NOTE:  As a safety measure, the Phone Book is backed up prior to
  7430.           being sorted.   Should you change your mind, the previous
  7431.           unsorted  copy   of  the   Phone  Book  can  be  restored
  7432.           immediately via the Undo command, covered next.
  7433.  
  7434.  
  7435.  
  7436. ^U - Undo
  7437. ______________________________________________________________________
  7438. Prior to  any changes,  a snapshot of the Phone Book is taken, and the
  7439. Phone Book  is saved  in a  backup file  with the  same  name  as  the
  7440. original and a file extension of .FBK.  The last Phone Book backup can
  7441. be restored immediately via the Undo command.
  7442.  
  7443.  
  7444.  
  7445.  
  7446.  
  7447. Version 4.0                                                        113
  7448.  
  7449.  
  7450.  
  7451.  
  7452.  
  7453. When pressing  ^U (Ctrl-U), Qmodem looks for a file with the same name
  7454. as the  current phone book and an .FBK extension,  If found, that file
  7455. will be  loaded in  place of the current Phone Book.   If no .FBK file
  7456. is found,  an Information  Window will  be displayed,  stating that no
  7457. backups were found.
  7458.  
  7459.  
  7460.  
  7461. Alt-E  DUPLEX TOGGLE.
  7462. ______________________________________________________________________
  7463. Alt-E switches  Qmodem operation  between Full  Duplex and Half Duplex
  7464. modes.   "Duplex" describes the method used in echoing your keystrokes
  7465. back to your terminal screen.   In FULL DUPLEX Mode, the REMOTE SYSTEM
  7466. you are connected to echoes your keystrokes back to your terminal.  In
  7467. Half-Duplex Mode, the remote system does not echo your keystrokes, and
  7468. Qmodem must do it instead.
  7469.  
  7470.    NOTE:  An  incorrect  Duplex  setting  will  yield  one  of  two
  7471.           results: either you will NOT see any keystrokes displayed
  7472.           on your  screen as  you type,  or your keystrokes will be
  7473.           duplicated (ie,  HHEELLOO).   In the  first case, you are
  7474.           operating in  HALF  Duplex mode, and you should switch to
  7475.           FULL.   In the  second case,  you are  operating in  FULL
  7476.           Duplex mode and you should switch to HALF.
  7477.  
  7478.    NOTE:  Most Hayes-compatible  modems feature  an  internal  Echo
  7479.           setting.   If set  to ON, the modem itself will echo your
  7480.           keystrokes.   If your  Qmodem settings  are correct,  but
  7481.           keystrokes are  duplicated, the modem is likely to be the
  7482.           culprit.   Check your modem manual for switch settings or
  7483.           initalization parameters to turn the local echo off.
  7484.  
  7485.  
  7486. When presing Alt-E, the following status window will be displayed:
  7487.  
  7488. ╔════════════════════════════════════════════════╗
  7489.  
  7490.                     ╒══ Status ═══╕
  7491.                     │ Full Duplex │
  7492.                     ╘═════════════╛
  7493.  
  7494. ╚════════════════════════════════════════════════╝
  7495.  
  7496.  
  7497.  
  7498.  
  7499.  
  7500.  
  7501.  
  7502.  
  7503.  
  7504.  
  7505. 114                                           Qmodem Operations Manual
  7506.  
  7507.  
  7508.  
  7509.  
  7510.  
  7511. Alt-F  SCRIPT FILE EXECUTION.
  7512.  
  7513. What is a Script?
  7514. ______________________________________________________________________
  7515. Scripts are  Qmodem Programs.   Qmodem  features a command language to
  7516. automate and/or   time-schedule  logons and  interactions with  remote
  7517. computers.   Scripts can  be  used  on  commercial  services  such  as
  7518. CompuServe,  Delphi,   Dow  Jones   News/Retrieval,  GEnie,  MCI-Mail,
  7519. NewsNet, The  Source and  local BBS  systems such  as  PCBoard,  Fido,
  7520. Nochange, and RBBS-PC.
  7521.  
  7522. With  a   script,  you   need  only  type  a  few  keystrokes  to  set
  7523. communication parameters,  dial (and  re-dial) the  phone, connect  to
  7524. another computer,  log  on  with  your  name  and  account  number  or
  7525. password,  retrieve   and  save  information,  and  log  off.    Since
  7526. everything is  automated, there  are no  mistakes or wasted time spent
  7527. online.  If used properly,  scripts can save you money.
  7528.  
  7529. Executing a script is a two step process.  Pressing Alt-F displays the
  7530. script File  Allocation Window,  in which  you must  type the  desired
  7531. script name.     Qmodem will  then issue  a prompt  for any additional
  7532. parameters which should be passed to the script.
  7533.  
  7534. The following  are samples  of Script  File Allocation  and  Execution
  7535. windows:
  7536.  
  7537. ╔════════════════════════════════════════════════╗
  7538.  
  7539.    ╒═══════════════════════ Script File Allocation ════════════════════════╕
  7540.    │                                                                       │
  7541.    │  > C:\QMODEM\SCRIPTS\TEST1.SCR░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  7542.    │                                                                       │
  7543.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  7544.  
  7545.  
  7546. ╒════════════════════════ Script File Execution ════════════════════════╕
  7547. │Script to execute :                                                    │
  7548. │> C:\QMODEM\SCRIPTS\TEST1.SCR                                          │
  7549. │Enter Script Parameters (if any)                                       │
  7550. │>                                                                      │
  7551. ╘═══════════════════════════════════════════════════════════════F1 Help═╛
  7552.  
  7553. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  7554.  
  7555. ╚════════════════════════════════════════════════╝
  7556.  
  7557. Once you  have entered  any additional  parameters, if any, the script
  7558. will begin.
  7559.  
  7560.  
  7561.  
  7562.  
  7563. Version 4.0                                                        115
  7564.  
  7565.  
  7566.  
  7567.  
  7568.  
  7569.    NOTE:  Scripts  must   be  located   in  the  Scripts  Directory
  7570.           specified in  the Alt-N/D/S  Setup Menu.   If the default
  7571.           directory is  blank, Qmodem  will as look for the scripts
  7572.           in the current directory.
  7573.  
  7574. For more  information on  Scripts, refer to the Scripts Section of the
  7575. Qmodem manual.
  7576.  
  7577.  
  7578.  
  7579. Alt-G  TERMINAL EMULATION.
  7580. ______________________________________________________________________
  7581. The Terminal  Emulation   feature  allows  Qmodem  to  behave  like  a
  7582. terminal other  than a  standard PC display, such as the popular VT100
  7583. from Digital  Equipment Corpσ.   While  in  terminal  emulation  mode,
  7584. Qmodem interprets device-dependent information so that it is displayed
  7585. properly on  the PC  screen as  if it  were a  native terminal  of the
  7586. selected type.
  7587.  
  7588. Qmodem can emulate four (4) types of terminals:
  7589.  
  7590.           TTY       - No emulation at all.
  7591.           ANSI      - Emulates the ANSI.SYS of PC DOS.
  7592.           VT100          - Emulates the Digital VT100.
  7593.  
  7594. When pressing Alt-G, the following window will be displayed:
  7595.  
  7596. ╔════════════════════════════════════════════════╗
  7597.  
  7598.                         ╒══ Terminal Emulation ══╕
  7599.                         │ Current = ANSI         │
  7600.                         │ A - TTY                │
  7601.                         │ B - ANSI               │
  7602.                         │ C - VT100              │
  7603.                         │ Your Choice ?          │
  7604.                         ╘════════════════F1 Help═╛
  7605.  
  7606. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Select emulation mode, or [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  7607.  
  7608. ╚════════════════════════════════════════════════╝
  7609.  
  7610. To select  the desired emulation mode, press the corresponding letter.
  7611. The screen will be cleared and the Qmodem Status Line will reflect the
  7612. new emulation mode.
  7613.  
  7614.    NOTE:  If you  are in Split-Screen mode (via Alt-S), you may not
  7615.           select a  new terminal  emulation  mode.    In  order  to
  7616.           operate properly, Split-Screen mode forces TTY emulation.
  7617.  
  7618.  
  7619.  
  7620.  
  7621. 116                                           Qmodem Operations Manual
  7622.  
  7623.  
  7624.  
  7625.  
  7626.  
  7627. TTY
  7628. ______________________________________________________________________
  7629. This has  no specific  character translations  or function  keys.  The
  7630. full ASCII  character set is supported with the IBM extended character
  7631. set (codes 128-255).
  7632.  
  7633. TTY does not include cursor control codes or enhanced video options.
  7634.  
  7635.    TIP:  When  calling   BBS  systems,   the  ANSI   emulation   is
  7636.          recommended.
  7637.  
  7638.  
  7639. ANSI
  7640. ______________________________________________________________________
  7641. This emulation  is recommended  for BBS  usage.  Complete IBM ANSI.SYS
  7642. compatibility is built right in.  You do not need to load the ANSI.SYS
  7643. driver in your CONFIG.SYS file.
  7644.  
  7645.  
  7646. KEY             ANSI FUNCTION           XMITED CODE
  7647. ______________________________________________________________________
  7648. Tab             Horizontal Tab                 0x09
  7649. Del             Character delete               0x7F
  7650. Home            Home the Cursor            0x1B5B48
  7651. Up Arrow        Cursor Up                  0x1B5B41
  7652. Down Arrow      Cursor Down                0x1B5B42
  7653. Left Arrow      Cursor Left                0x1B5B44
  7654. Right Arrow     Cursor Right               0x1B5B43
  7655. PgDn            Clear Screen             0x1B5B324A
  7656. End             Erase End of Line          0x1B5B4B
  7657. Enter           Carriage Return                0x0D
  7658. Ctrl-Enter      Linefeed                       0x0A
  7659.  
  7660.  
  7661.  
  7662. VT100
  7663. ______________________________________________________________________
  7664. Qmodem  supports  the  standard  VT100  functions;  half/full  duplex,
  7665. set/reset modes,  scrolling region,  keypad application  mode, special
  7666. graphics  character   set,  US  &  UK  character  sets,  full  display
  7667. attributes including  ANSI color  extensions,  programmable  tabs  and
  7668. cursor control.
  7669.  
  7670. To take  advantage of  larger screen  dimensions other than 80x25, you
  7671. must have  an EGA  or VGA card that supports more lines and columns in
  7672. text mode.   Assuming  you have  such a  card, place  the card  in the
  7673. desired mode (say, 132x43) and then select the VT100 emulation.  Until
  7674. changed manually  (via Alt-2, Alt-4 or an external driver), the screen
  7675. will lock in on the selected dimensions.
  7676.  
  7677.  
  7678.  
  7679. Version 4.0                                                        117
  7680.  
  7681.  
  7682.  
  7683.  
  7684.  
  7685. Qmodem responds  to the  "Identify" command  (0x1B5B63 or 0x1B5A) with
  7686. "ESC[?1;2c" (0x1B5B3F313B3263).
  7687.  
  7688.  
  7689. KEY             VT100 FUNCTION          XMITED CODE
  7690. ______________________________________________________________________
  7691. Tab             Horizontal Tab                 0x09
  7692. Del             Character delete               0x7F
  7693. Home            Home the Cursor            0x1B5B48
  7694. Up Arrow        Cursor Up                  0x1B5B41
  7695. Down Arrow      Cursor Down                0x1B5B42
  7696. Left Arrow      Cursor Left                0x1B5B44
  7697. Right Arrow     Cursor Right               0x1B5B43
  7698. PgDn            Clear Screen       0x1B5B481B5B324A
  7699. End             Erase End of Line          0x1B5B4B
  7700. Enter           Carriage Return                0x0D
  7701. Ctrl-Enter      Linefeed                       0x0A
  7702.  
  7703.  
  7704.  
  7705. Alt-H  HANG UP.
  7706. ______________________________________________________________________
  7707. The Hangup command is used to force the modem to terminate a call.  In
  7708. most cases,  you would  NOT use  this command  to disconnect  from the
  7709. remote computer;  you would use the remote computer's standard LOG OFF
  7710. procedure.  However, in case you are experiencing problems (ie, remote
  7711. computer lockup,  bad line  noise, etc...) you may use this command to
  7712. disconnect the call.
  7713.  
  7714. What Alt-H  does varies, depending on the information specified in the
  7715. Alt-N/M/M/H Setup  Menu.   Usually, Qmodem  will send the modem hangup
  7716. string defined  in your  setup.   However, if you specified "DTR" as a
  7717. modem hangup  string, Qmodem  will toggle  the "DTR"  signal  and  the
  7718. connection will  be dropped.   And  if you specified "BREAK", the UART
  7719. BREAK signal will be sent.
  7720.  
  7721. The recommended Hangup string for Hayesσ and compatible modems is:
  7722.  
  7723. "^~^~^~+++^~^~^~ATH^M" where:
  7724.  
  7725.                ^~^~^~    =  1.5 seconds delay
  7726.                +++       =  go to Command Mode string
  7727.                ^~^~^~    =  another 1.5 seconds delay
  7728.                ATH       =  command to Hangup
  7729.                ^M        =  the [ENTER] key
  7730.  
  7731.  
  7732.  
  7733.  
  7734.  
  7735.  
  7736.  
  7737. 118                                           Qmodem Operations Manual
  7738.  
  7739.  
  7740.  
  7741.  
  7742.  
  7743. "DTR"  stands   for  "Data   Terminal  Ready".     Most   modems  will
  7744. automatically disconnect from the phone line DTR signal is dropped for
  7745. 1.5 seconds.   Having  the three characters "DTR" in the Hangup string
  7746. does exactly  that.   If in  doubt, check  your modem manual to see if
  7747. "Dropping DTR"  is an  accepted method  of dicconnecting.  If so, this
  7748. should be the preferred method.
  7749.  
  7750. BREAK is  a signal  generated  by  the  UART  (Universal  Asynchronous
  7751. Receiver /  Transmitter, the  main chip  on  your  serial  adapter  or
  7752. modem).   Some PBX  and Bell type modems require a BREAK signal before
  7753. they will  take action.  Again, check your modem manual before setting
  7754. this option.
  7755.  
  7756. When pressing Alt-H, the following Status window will be displayed:
  7757.  
  7758. ╔════════════════════════════════════════════════╗
  7759.  
  7760.                     ╒════════ Status ═════════╕
  7761.                     │ Sending Hang-Up command │
  7762.                     ╘═════════════════════════╛
  7763.  
  7764. ╚════════════════════════════════════════════════╝
  7765.  
  7766.  
  7767.  
  7768. Alt-I  INFORMATION ON QMODEM.
  7769. ______________________________________________________________________
  7770. The Qmodem  information screen  always  displays  the  Qmodem  release
  7771. number, as  well as an official Invoice Form which can be printed (Via
  7772. PrtSc), filled out,  and sent in to register your copy of the program.
  7773.  
  7774. The Forbin  Project depends on your honesty to register the program if
  7775. you use  it.   This allows  us to  keep on  improving the software and
  7776. supply you with top quality technical support when you need it.
  7777.  
  7778.  
  7779.  
  7780.  
  7781.  
  7782.  
  7783.  
  7784.  
  7785.  
  7786.  
  7787.  
  7788.  
  7789.  
  7790.  
  7791.  
  7792.  
  7793.  
  7794.  
  7795. Version 4.0                                                        119
  7796.  
  7797.  
  7798.  
  7799.  
  7800.  
  7801. Alt-J  FUNCTION KEY MACROS.
  7802. ______________________________________________________________________
  7803. Function key (FKey for short) macros are used to store keystrokes
  7804. which are sent repetitively.  When pressing Alt-J, the following
  7805. window is displayed::
  7806.  
  7807.  
  7808. ╔════════════════════════════════════════════════╗
  7809.  
  7810.  ╒═════════════════════════ Function Key Assignment ══════════════════════════╕
  7811.  │     Normal             Shift              Ctrl               Alt           │
  7812.  │F1  @Edit          F1  @Script messag F1  @Shell ESU 43  F1                 │
  7813.  │F2  @Script QuikDi F2  @QLEARN        F2                 F2  @Script HST20  │
  7814.  │F3  ..^M\/         F3  @script c      F3                 F3  @Dial TSalt    │
  7815.  │F4  ^M             F4  @Script GEnie. F4                 F4                 │
  7816.  │F5  AT M0H1^M      F5                 F5  @Script UP.    F5                 │
  7817.  │F6  AT M1H0^M      F6                 F5  @Script DOWN.  F6                 │
  7818.  │F7  John^M         F7  @Script Colors F7                 F7  Be right back. │
  7819.  │F8  Friel^M        F8  @Script Test1  F8                 F8  I'm Back!      │
  7820.  │F9  $Password^M    F9                 F9                 F9  @DIAL TGEnie_L │
  7821.  │F10 @Script REG    F10                F10                F10 @script who    │
  7822.  │F11 @Script ShowLo F11                F11                F11 Welcome!^M     │
  7823.  │F12 @Shell Map     F12                F12                F12 @Script RTSETU │
  7824.  │                                                                            │
  7825.  │ Key File is Z:\QMODEM.KEY                                                  │
  7826.  │                                                                            │
  7827.  │ 1 - Normal   2 - Shift   3 - Ctrl   4 - Alt   L - Load    ESC - Exit       │
  7828.  │                                                                            │
  7829.  │ Your Choice ? _                                                            │
  7830.  ╘════════════════════════════════════════════════════════════════════F1 Help═╛
  7831.  
  7832. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒  [1-4] to Display/Edit  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  7833.  
  7834. ╚════════════════════════════════════════════════╝
  7835.  
  7836. Up to  48 FKey  Macros may be programmed at one time.  FKey Macros are
  7837. stored in  "Key Definition  Files" with .KEY file extensions and user-
  7838. assigned filenames.     Each  can  store  up  to  4  separate  macros,
  7839. depending on the key's Shift state (Fn, Shift-Fn, Ctrl-Fn and Alt-Fn).
  7840. To execute  an FKey  Macro, press the desired Shift key, hold it down,
  7841. and strike the Fn key.
  7842.  
  7843. Pressing Alt-J  displays the FKey Macro Screen shown above.  The first
  7844. 14 characters  of each  FKeys are displayed in 4 columns corresponding
  7845. to the  shift states described earlier.  The status line at the bottom
  7846. of the  window displays  summary instructions on how to display and/or
  7847. edit each  series of macros, load an alternate key definition file, or
  7848. exit the Alt-J screen.
  7849.  
  7850.  
  7851.  
  7852.  
  7853. 120                                           Qmodem Operations Manual
  7854.  
  7855.  
  7856.  
  7857.  
  7858.  
  7859. To view  the complete  key definitions  for a given shift state, press
  7860. the number  (1-4) corresponding  to  that  state  (1=Normal,  2=Shift,
  7861. 3=Ctrl, 4=Alt).
  7862.  
  7863.  
  7864. Editing Key Macros
  7865. ______________________________________________________________________
  7866. To edit  an FKey  macro, press  the number  (1-4) corresponding to the
  7867. key's shift state, as described above.  The following edit screen will
  7868. then be  displayed (in  the following example, the '3' key was pressed
  7869. to display/edit Alt-Fn key assignments):
  7870.  
  7871. ╔════════════════════════════════════════════════╗
  7872.  
  7873.  ╒═════════════════════════ Function Key Assignment ══════════════════════════╕
  7874.  │         Definitions for Alt F-keys                                         │
  7875.  │F1  @SHELL MAP                                                              │
  7876.  │F2  @SCRIPT SETCOLOR 7 1 "String passed to S2"                              │
  7877.  │F3  @DIAL TSalt░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ │
  7878.  │F4  @EDIT                                                                   │
  7879.  │F5  @STAMP this will be put in the LOG file.                                │
  7880.  │F6  @SHELLX DEL *.BAK                                                       │
  7881.  │F7  Be right back... went to the kitchen....                                │
  7882.  │F8  I'm Back!                                                               │
  7883.  │F9  @Dial TGEnie_Local                                                      │
  7884.  │F10 @Script WHO                                                             │
  7885.  │F11 $PASSWORD^M                                                             │
  7886.  │F12 @Script RTSETUP                                                         │
  7887.  │                                                                            │
  7888.  │ Valid Edit Keys    :   INS - Insert mode Toggle      - Field Up           │
  7889.  │                        DEL - Delete Character        - Field Down         │
  7890.  │                           - Character Left         ^ - Word Left         │
  7891.  │                           - Character Right        ^ - Word Right        │
  7892.  │ Special Characters :    ^M = [ENTER]                ^~ = ½ second delay    │
  7893.  ╘════════════════════════════════════════════════════════════════════F1 Help═╛
  7894.  
  7895. ▒▒▒▒▒ Edit Function Key Entries    [F10] to Save    [ESC] to Abort changes ▒▒▒▒▒
  7896.  
  7897. ╚════════════════════════════════════════════════╝
  7898.  
  7899. The Alt-J  edit screen  features a  scrollbar cursor.  In the example,
  7900. the cursor  is located  on the  F3 key.   Move  the scrollbar with the
  7901. up/down arrow  keys to  select  the  key  definition  to  edit.    The
  7902. following section  describes available  macro keywords and commands in
  7903. detail.
  7904.  
  7905.  
  7906.  
  7907.  
  7908.  
  7909.  
  7910.  
  7911. Version 4.0                                                        121
  7912.  
  7913.  
  7914.  
  7915.  
  7916.  
  7917. DOS Shell Macros
  7918. ______________________________________________________________________
  7919. Two macro commands, @SHELL and @SHELLX allow you to quickly access DOS
  7920. with the  touch of  a key.   Any  program, with the exception of those
  7921. that attach  themselves to DOS (TSR's) can be executed provided enough
  7922. free memory is available.
  7923.  
  7924.  
  7925. Examples:
  7926.  
  7927. ╔══════════════════════════════════════════════════╗
  7928.  
  7929. @SHELL CHKDSK C:░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  7930.  
  7931. ╚══════════════════════════════════════════════════╝
  7932.  
  7933.      This will run the DOS Chkdsk program on drive C:.  When complete,
  7934.      it will  stop and  prompt you  to press a key before returning to
  7935.      Qmodem (and erasing the screen).
  7936.      
  7937.  
  7938. ╔══════════════════════════════════════════════════╗
  7939.  
  7940. @SHELLX DEL *.BAK░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  7941.  
  7942. ╚══════════════════════════════════════════════════╝
  7943.  
  7944.      This will  delete all  the files with the extension of ".BAK" and
  7945.      immediatly return when completed.
  7946.  
  7947.  
  7948. ╔══════════════════════════════════════════════════╗
  7949.  
  7950. @SHELL ESU 43░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  7951.  
  7952. ╚══════════════════════════════════════════════════╝
  7953.  
  7954.      If you  have a Vega VGA, this is the program used to switch video
  7955.      modes on  the fly.   The  @SHELL macros  will detect  video  mode
  7956.      changes and reset Qmodem when returning from DOS.  A handy way to
  7957.      use those  SuperEGA and  SuperVGA  cards  to  get  higher  screen
  7958.      resolutions and larger viewing areas.
  7959.  
  7960.  
  7961. A Dial Macro
  7962. ______________________________________________________________________
  7963. The @DIAL  macro is  just like  invoking an Alt-D/T command.  Any text
  7964. following the  @DIAL is parsed in the same way that Alt-D/T does.  For
  7965. more information, refer to the Alt-D/T section.
  7966.  
  7967.  
  7968.  
  7969. 122                                           Qmodem Operations Manual
  7970.  
  7971.  
  7972.  
  7973.  
  7974.  
  7975. Examples:
  7976.  
  7977. ╔══════════════════════════════════════════════════╗
  7978.  
  7979. @DIAL TSALT-AIR░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  7980.  
  7981. ╚══════════════════════════════════════════════════╝
  7982.  
  7983.      This will search all entries for the text "SAlt-Air".  The search
  7984.      is not  case sensitive.   The Name, Number and attached Notes are
  7985.      searched.   All entries  that match  are tagged  and then dialing
  7986.      will start.
  7987.  
  7988.  
  7989. ╔══════════════════════════════════════════════════╗
  7990.  
  7991. @DIAL 1 2 23 155░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  7992.  
  7993. ╚══════════════════════════════════════════════════╝
  7994.  
  7995.      This will tag entries 1, 2, 23 and 155 to be dialed.
  7996.  
  7997.  
  7998. ╔══════════════════════════════════════════════════╗
  7999.  
  8000. @DIAL 1 TO 200░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8001.  
  8002. ╚══════════════════════════════════════════════════╝
  8003.  
  8004.      This will  tag entry 1, then all the entries with the letter 'O',
  8005.      and finally entry 200.
  8006.  
  8007.    NOTE:  @DIAL will  do an implied "Untag-All" before applying the
  8008.           new tags.
  8009.  
  8010.  
  8011. An Edit Macro
  8012. ______________________________________________________________________
  8013. The @EDIT  macro allows  you to quickly call up the internal editor to
  8014. edit/view a  file.   If a  filename follows  @EDIT, that  file will be
  8015. brought up  in edit  immediately.   If no filename has been specified,
  8016. then you will be prompted for one.
  8017.  
  8018. Examples:
  8019.  
  8020. ╔══════════════════════════════════════════════════╗
  8021.  
  8022. @EDIT░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8023.  
  8024. ╚══════════════════════════════════════════════════╝
  8025.  
  8026.  
  8027. Version 4.0                                                        123
  8028.  
  8029.  
  8030.  
  8031.  
  8032.  
  8033.      This will prompt for the filename to edit.
  8034.  
  8035.  
  8036. ╔══════════════════════════════════════════════════╗
  8037.  
  8038. @EDIT QMHOST.PWD░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8039.  
  8040. ╚══════════════════════════════════════════════════╝
  8041.  
  8042.      This will edit the Internal HOST database file.
  8043.  
  8044.  
  8045. A Script Macro
  8046. ______________________________________________________________________
  8047. In the  example above,  entries Alt-F2,  Alt-F10 and  Alt-F12 use  the
  8048. keyword @SCRIPT.   The  @SCRIPT macro  command causes execution of the
  8049. Script whose  filename follows  (the .SCR script file extension is not
  8050. required).   If the  script requires parameters, they must be included
  8051. in the  key definition  following the  script name. The @SCRIPT macro,
  8052. the script  name, and  script parameters must be separated by at least
  8053. one space.
  8054.  
  8055. Examples:
  8056.  
  8057. ╔══════════════════════════════════════════════════╗
  8058.  
  8059. @SCRIPT TEST1░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8060.  
  8061. ╚══════════════════════════════════════════════════╝
  8062.  
  8063.      This will  call the  script "TEST1.SCR".   Because ".SCR" was not
  8064.      included in the filename, it is added by default.
  8065.      
  8066.  
  8067. ╔══════════════════════════════════════════════════╗
  8068.  
  8069. @SCRIPT TEST1.░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8070.  
  8071. ╚══════════════════════════════════════════════════╝
  8072.  
  8073.      This will  call the script "TEST1".  Because the period is at the
  8074.      end of the script name, the default extension is not included.
  8075.  
  8076.  
  8077. ╔══════════════════════════════════════════════════╗
  8078.  
  8079. @SCRIPT SETCOLOR 7 1 "String passed to S2"░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8080.  
  8081. ╚══════════════════════════════════════════════════╝
  8082.  
  8083.  
  8084.  
  8085. 124                                           Qmodem Operations Manual
  8086.  
  8087.  
  8088.  
  8089.  
  8090.  
  8091.      This will  call the  Script SETCOLOR  and pass  it 3  parameters.
  8092.      Parameter 1  is  the  character  "7",  parameter  2  is  "1"  and
  8093.      parameter 3  is "String passed to S2".  Since the third parameter
  8094.      is text  with imbedded  spaces, it must be enclosed within double
  8095.      quotes.
  8096.      
  8097.  
  8098. A LOG Macro
  8099. ______________________________________________________________________
  8100. The @STAMP  macro causes the text following it to be recorded into the
  8101. current LOG  file, preceded  by the  current time  and date.  For more
  8102. information on the Qmodem LOG file, refer to the Alt-0 Command.
  8103.  
  8104. Example:
  8105.  
  8106. ╔══════════════════════════════════════════════════╗
  8107.  
  8108. @STAMP This will be put in the LOG file.░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8109.  
  8110. ╚══════════════════════════════════════════════════╝
  8111.  
  8112.      The LOG  file entry would look like this (except with the current
  8113.      time and date) :
  8114.  
  8115. ╔════════════════════════════════════════════════╗
  8116.  
  8117. 16:26:54  11-20-88  This will be put in the LOG file.
  8118.  
  8119. ╚════════════════════════════════════════════════╝
  8120.  
  8121.    NOTE:  The special characters "^~" and "^M" have no meaning when
  8122.           @STAMP is used.
  8123.  
  8124.  
  8125. The $PASSWORD Variable
  8126. ______________________________________________________________________
  8127. When used in a key macro definition, $PASSWORD variable is replaced by
  8128. the current entry's PASSWORD field (see Alt-D).  Whenever a connection
  8129. is made,  the dialed entry's Password is automatically loaded into the
  8130. $PASSWORD variable.  Unlike all the other special macro commands which
  8131. must appear  first in the macro, $PASSWORD may be used anywhere within
  8132. the macro text.
  8133.  
  8134.  
  8135.  
  8136.  
  8137.  
  8138.  
  8139.  
  8140.  
  8141.  
  8142.  
  8143. Version 4.0                                                        125
  8144.  
  8145.  
  8146.  
  8147.  
  8148.  
  8149. Example:
  8150.  
  8151.      Let's assume  that the  word "QMODEM!"  is the  password for  the
  8152.      entry we  have just  connected to and the following was coded for
  8153.      Alt-F11:
  8154.      
  8155. ╔══════════════════════════════════════════════════╗
  8156.  
  8157.  My password is $PASSWORD░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
  8158.  
  8159. ╚══════════════════════════════════════════════════╝
  8160.  
  8161.      After the  connection is  made, pressing  Alt-F11 would  send the
  8162.      following:
  8163.  
  8164.      My password is QMODEM!
  8165.  
  8166. Simple, no?
  8167.  
  8168.  
  8169. Loading a new Key file
  8170. ______________________________________________________________________
  8171. Pressing the  'L' key  while in  the main Alt-J screen will load a new
  8172. .KEY file,  if found.   If  the specified  .KEY file  does not  exist,
  8173. Qmodem will  issue a  prompt for  its creation  -- that's  how new key
  8174. definition files are made --.
  8175.  
  8176.  
  8177.  
  8178.  
  8179.  
  8180.  
  8181.  
  8182.  
  8183.  
  8184.  
  8185.  
  8186.  
  8187.  
  8188.  
  8189.  
  8190.  
  8191.  
  8192.  
  8193.  
  8194.  
  8195.  
  8196.  
  8197.  
  8198.  
  8199.  
  8200.  
  8201. 126                                           Qmodem Operations Manual
  8202.  
  8203.  
  8204.  
  8205.  
  8206.  
  8207. Alt-K  CHANGING THE ACTIVE COM PORT.
  8208. ______________________________________________________________________
  8209. The Alt-K  commands is used to switch the active serial communications
  8210. port.  After pressing Alt-K, the following window is displayed:
  8211.  
  8212. ╔════════════════════════════════════════════════╗
  8213.  
  8214.              ╒══════════════ Set Active COM Port ═══════════════╕
  8215.              │ Active COM Port is COM1                          │
  8216.              │ Available ports are :                            │
  8217.              │                                                  │
  8218.              │         1 - COM1:           2 - COM2:            │
  8219.              │         3 - COM3:           4 - COM4:            │
  8220.              │         5 - COM5:           6 - COM6:            │
  8221.              │         7 - Undefined       8 - Undefined        │
  8222.              │                                                  │
  8223.              │           Your Choice ?                          │
  8224.              │                                                  │
  8225.              ╘══════════════════════════════════════════F1 Help═╛
  8226.  
  8227.  
  8228. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Select a different COM Port   [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  8229.  
  8230. ╚════════════════════════════════════════════════╝
  8231.  
  8232. Qmodem supports  up to  8 serial  communication  ports  (COM1  through
  8233. COM8).    Only  the ports  specifically defined  in your setup will be
  8234. identified in the Alt-K menu; others will be shown as "Undefined".  In
  8235. the above  example, ports  1 through  6  were  defined  during  Qmodem
  8236. installation.
  8237.  
  8238. To select  a new  communication port,  press the desired number (1-8).
  8239. Once the  new port is selected, Qmodem will close the current port and
  8240. open the  new one.    Communication  parameters  (Baud  rate,  parity,
  8241. start/stop bits)  will remain  unchanged.   To change  the new  port's
  8242. communication parameters, use the Alt-P command.
  8243.  
  8244.  
  8245.  
  8246.  
  8247.  
  8248.  
  8249.  
  8250.  
  8251.  
  8252.  
  8253.  
  8254.  
  8255.  
  8256.  
  8257.  
  8258.  
  8259. Version 4.0                                                        127
  8260.  
  8261.  
  8262.  
  8263.  
  8264.  
  8265. Alt-L  CHANGING THE LOGGED DRIVE.
  8266. ______________________________________________________________________
  8267. "Logged Drive"  refers to  the default  drive at  the time  Qmodem was
  8268. started.   This drive  specification may be changed by using the Alt-L
  8269. command.  Pressing Alt-L displays the following prompt window:
  8270.  
  8271. ╔════════════════════════════════════════════════╗
  8272.  
  8273.                             ╒══ Change Log Drive ══╕
  8274.                             │ Logged Drive is  : D │
  8275.                             │ Enter new Drive  :   │
  8276.                             ╘══════════════F1 Help═╛
  8277.  
  8278. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Enter a new Drive letter [A-Z]  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒
  8279.  
  8280. ╚════════════════════════════════════════════════╝
  8281.  
  8282. To select a new default drive, type its drive letter and [ENTER].
  8283.  
  8284. Qmodem will  verify the new drive specification before proceeding.  If
  8285. the drive is invalid, a message to that effect will be displayed and a
  8286. new drive  prompt will  be issued.  Pressing ESC will cancel the drive
  8287. change request.
  8288.  
  8289.  
  8290.  
  8291.  
  8292.  
  8293.  
  8294.  
  8295.  
  8296.  
  8297.  
  8298.  
  8299.  
  8300.  
  8301.  
  8302.  
  8303.  
  8304.  
  8305.  
  8306.  
  8307.  
  8308.  
  8309.  
  8310.  
  8311.  
  8312.  
  8313.  
  8314.  
  8315.  
  8316.  
  8317. 128                                           Qmodem Operations Manual
  8318.  
  8319.  
  8320.  
  8321.  
  8322.  
  8323.             
  8324.  
  8325.  
  8326.  
  8327.  
  8328.  
  8329. Alt-M  MUSIC TOGGLE.
  8330. ______________________________________________________________________
  8331. Music will  be generated  on the  PC's speaker  only if  the following
  8332. conditions are met:
  8333.  
  8334.      1.   ANSI terminal emulation is active (see Alt-G).
  8335.      2.   The Music Toggle is ON (see Alt-M).
  8336.      3.   Qmodem receives encoded music data.
  8337.      
  8338. If any  of the  above condition  is not  met,  Qmodem  will  disregard
  8339. encoded music  information.  To be recognized by Qmodem, encoded music
  8340. data must conform to the following format:
  8341.  
  8342.           ESC [ M  .....music codes.....  ^N
  8343.  
  8344. Where ESC  stands for  the ASCII  escape character  (ASCII 27)  or ^[.
  8345. Music codes  are those  used in  the  BASIC  language  PLAY  statement
  8346. (please refer to your BASIC language manual for further information on
  8347. the PLAY  statement).   Music strings  must end  with the ctrl-N or ^N
  8348. character.   If the  ^N character  is missing, Qmodem will assume that
  8349. the following text, up to 255 characters, is playable music.  It might
  8350. not sound too good, however.
  8351.  
  8352.  
  8353.  
  8354. Alt-N  INVOKING THE SETUP MENU.
  8355. ______________________________________________________________________
  8356. Qinstall, which  used to  be  a  separate  SETUP  program  in  earlier
  8357. releases of  Qmodem, has  been incorporated  into Qmodem  release 4.0.
  8358. All previous  Qmodem setup  parameters, and  many new  ones,  are  now
  8359. easily accessible  via the  Alt-N command.   Through a series of pull-
  8360. down pop-up menus, Qmodem setup is now faster and much easier than the
  8361. old stand-alone Qinstall program.
  8362.  
  8363. Almost all  of Qmodem's operational parameters can be customized.  You
  8364. may change  the colors, upload or download directory paths or even add
  8365. an external protocol without leaving Qmodem.
  8366.  
  8367. To use  the Alt-N command requires that enough free memory be present.
  8368. If this  is not  the case, you must exit Qmodem via the Alt-X; command
  8369. and run the Qinstall program externally.
  8370.  
  8371. Refer to the SETUP section at the beginning of the manual for complete
  8372. installation instructions.
  8373.  
  8374.  
  8375.  
  8376.  
  8377.  
  8378.  
  8379.  
  8380.  
  8381. Version 4.0                                                        129
  8382.  
  8383.  
  8384.  
  8385.  
  8386.  
  8387. Alt-O  CHANGING SUBDIRECTORIES.
  8388. ______________________________________________________________________
  8389. By definition,  a directory  listing request  (see Alt-W) will display
  8390. the current  subdirectory.   However, the default subdirectory is that
  8391. which was  active when  Qmodem was  started.   In order  to  view  the
  8392. contents of  other directories,  the current directory must be changed
  8393. via the Alt-O command.  When pressing Alt-O, the following windows are
  8394. displayed:
  8395.  
  8396. ╔════════════════════════════════════════════════╗
  8397.  
  8398. ╒═════════ SubDirs ══════════╕
  8399. │ .             ..           │
  8400. │ HOSTDIR       DL           │
  8401. │ MASTER        MODEMS       │
  8402. │ MPI           SCRIPTS      │
  8403. │ SITEVERS      XFERS        │
  8404. │ QMAIL         ANALYST      │
  8405. │                            │
  8406. │                            │
  8407. │                            │
  8408. │                            │
  8409. │                            │
  8410. │                            │
  8411. │                            │
  8412. │                            │
  8413. │                            │
  8414. │  ╒════════════════════════  Change Subdirectory  ════════════════════════╕
  8415. │  │                                                                       │
  8416. │  │  > C:\QMODEM\░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  8417. │  │                                                                       │
  8418. │  ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  8419. │                            │
  8420. ╘════════════════════════════╛
  8421.  
  8422. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  8423.  
  8424. ╚════════════════════════════════════════════════╝
  8425.  
  8426. The larger,  vertical window  on the  left side  of the screen shows a
  8427. list of  all valid  subdirectories in  the directory  you are  in.  If
  8428. there are no lower directory levels, that list will be empty.
  8429.  
  8430. The horizontal  window  on  top  shows  the  current  drive:\path  and
  8431. contains a  prompt area  in which the new path specification is typed.
  8432. To change  paths, type  the new  drive:\directory specification as you
  8433. would in a valid CHDIR command.
  8434.  
  8435.  
  8436.  
  8437.  
  8438.  
  8439. 130                                           Qmodem Operations Manual
  8440.  
  8441.  
  8442.  
  8443.  
  8444.  
  8445. If you wish to change to a subdirectory listed in the left window, you
  8446. only need  type that  name at  the end of the prompt.  For example, to
  8447. select the  PCBOARD subdirectory,  you would  type "PCBOARD" and press
  8448. [ENTER].   If the  drive:\path is invalid, the following error message
  8449. appears in  the Change  Subdirectory window  and waits for a key to be
  8450. pressed:
  8451.  
  8452.      Invalid Path specified.  Press any key
  8453.  
  8454. Pressing any  key returns  the prompt  the way  it was  when Alt-O was
  8455. originally pressed  giving you  another chance  to enter  the  correct
  8456. path.   To exit  Alt-O without  changing the  drive:\path, just  press
  8457. [ESC].
  8458.  
  8459.    TIP:  The Alt-O  command allows  you to change drives as well as
  8460.          subdirectories.   If the new path command includes a drive
  8461.          specification (IE,  D:\DATA),   and the  drive  letter  is
  8462.          valid, the current Logged Drive will be changed as well.
  8463.  
  8464.  
  8465.  
  8466. Alt-P  COMMUNICATIONS PARAMETERS.
  8467. ______________________________________________________________________
  8468. The Alt-P command allows immediate changes to serial communications
  8469. parameters.   Pressing Alt-P displays the following window:
  8470.  
  8471. ╔════════════════════════════════════════════════╗
  8472.  
  8473.          ╒════════════════════ Set Modem Speed ═════════════════════╕
  8474.          │     Current setting is COM1: 19200,N,8,1                 │
  8475.          │                                                          │
  8476.          │           Speed             Parity      Data     Stop    │
  8477.          │   A - 300    E - 9600      H - Even     K - 7    M - 1   │
  8478.          │   B - 1200   F - 19200     I - Odd      L - 8    N - 2   │
  8479.          │   C - 2400   G - 38400     J - None                      │
  8480.          │   D - 4800                                               │
  8481.          │                                                          │
  8482.          │                     Your Choice ? _                      │
  8483.          ╘══════════════════════════════════════════════════F1 Help═╛
  8484.  
  8485. ▒▒▒▒▒▒▒ [Letter] to Select  -or-  [ENTER] to Accept  -or-  [ESC] to Abort ▒▒▒▒▒▒
  8486.  
  8487. ╚════════════════════════════════════════════════╝
  8488.  
  8489. Select the  new parameter(s)  by  pressing  the  corresponding  option
  8490. letter.   If an  error was  made, pressing [ESC] restores the previous
  8491. parameters and exits the Alt-P window.  Pressing [ENTER] completes the
  8492. parameter change(s) and exits the window.
  8493.  
  8494.  
  8495.  
  8496.  
  8497. Version 4.0                                                        131
  8498.  
  8499.  
  8500.  
  8501.  
  8502.  
  8503. For example,  say we  want to set Qmodem to 1200,7,E,1 and the current
  8504. setting is 19200,N,8,1.  We would press the following letters; B,H and
  8505. press [ENTER].  You might be wondering...  Why didn't we need to press
  8506. K to  set 7  data bits?   Because  when either  H or I is selected, it
  8507. forces K.
  8508.  
  8509.  
  8510.  
  8511. Alt-Q  QUICKLEARN SCRIPT RECORDER.
  8512. ______________________________________________________________________
  8513. The QuickLearn  Script Recorder  is much  like a  video camera;  as it
  8514. records your  interactions, it  creates a Script which can be replayed
  8515. later to  replicate the session while QuickLearn was active.  Alt-Q is
  8516. a toggle;   if  the QuickLearn  recorder is not active, it is started.
  8517. If it is active, it terminates and the Script is saved.
  8518.  
  8519. In a  nutshell, QuickLearn  stores incoming  data internally until you
  8520. type information  yourself.   QuickLearn assumes  that your  data  was
  8521. entered in  response to  a prompt  or question from the system you are
  8522. connected to.   The  last 32 characters received are assumed to be the
  8523. prompt to  which you  are responding,  which will  be reflected in the
  8524. final script  as a  WAITFOR command.   In turn, the entire contents of
  8525. your response will be included in the script as a SEND command.
  8526.  
  8527. The "Q"  tag was  mentioned in  the Dialing  Directory section  (Alt-D
  8528. Command).   If an  entry is  tagged by  pressing "Q",  the dialer will
  8529. start QuickLearn  automatically --  but only  if a Script file name is
  8530. defined and  the file  itself does  not exist --.  As a result, script
  8531. recording starts the instant the connection is established.
  8532.  
  8533. What if  you are already online and want to create a script to perform
  8534. a repetitive function?  You would invoke Alt-Q!
  8535.  
  8536. When  pressing  Alt-Q,  Qmodem  displays  the  following  script  file
  8537. allocation window:
  8538.  
  8539. ╔════════════════════════════════════════════════╗
  8540.  
  8541.    ╒═══════════════════════ Script Learn Allocation ═══════════════════════╕
  8542.    │                                                                       │
  8543.    │  > C:\QMODEM\SCRIPTS\░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  8544.    │                                                                       │
  8545.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  8546.  
  8547.  
  8548. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  8549.  
  8550. ╚════════════════════════════════════════════════╝
  8551.  
  8552.  
  8553.  
  8554.  
  8555. 132                                           Qmodem Operations Manual
  8556.  
  8557.  
  8558.  
  8559.  
  8560.  
  8561. Type the  desired script file name and [Enter].  If the script already
  8562. exists, an  overwrite prompt  will be  displayed.   You may  chose  to
  8563. overwrite the  prompt, or  select a  new name  for the script.  If the
  8564. script file is not found, it will be created.
  8565.  
  8566. While QuickLearn  is  active,  the  status  line  is  changed  to  the
  8567. following:
  8568.  
  8569. ╔════════════════════════════════════════════════╗
  8570.  
  8571. ▒▒▒▒▒▒▒▒▒▒▒▒ QuickLearn Recording Active!  [Alt-Q] to end recording ▒▒▒▒▒▒▒▒▒▒▒▒
  8572.  
  8573. ╚════════════════════════════════════════════════╝
  8574.  
  8575.  
  8576. When you  are finished  recording a script, press Alt-Q again.  Qmodem
  8577. will display  the following  status window,  after which  the standard
  8578. Status Line will be restored.
  8579.  
  8580. ╔════════════════════════════════════════════════╗
  8581.  
  8582.                          ╒═════════ Status ══════════╕
  8583.                          │ QuickLearn recording done │
  8584.                          ╘═══════════════════════════╛
  8585.  
  8586. ╚════════════════════════════════════════════════╝
  8587.  
  8588.  
  8589.  
  8590.  
  8591.  
  8592.  
  8593.  
  8594.  
  8595.  
  8596.  
  8597.  
  8598.  
  8599.  
  8600.  
  8601.  
  8602.  
  8603.  
  8604.  
  8605.  
  8606.  
  8607.  
  8608.  
  8609.  
  8610.  
  8611.  
  8612.  
  8613. Version 4.0                                                        133
  8614.  
  8615.  
  8616.  
  8617.  
  8618.  
  8619. Saving the Current Setup
  8620. ______________________________________________________________________
  8621. QuickLearn saves  the state  of Qmodem  environment variables  at  the
  8622. beginning of  each Script.   These  variables include  toggles such as
  8623. Split-screen mode  (SPLIT), Duplex  setting  (ECHO),  etc..  as  shown
  8624. below:
  8625.  
  8626. ╔════════════════════════════════════════════════╗
  8627.  
  8628. ;
  8629. ;  QuickLearn Script generated at 11:45:06 on 12-08-88
  8630. ;  May require editing before use.
  8631. ;
  8632. TurnON   8_BIT
  8633. TurnOFF  LINEFEED
  8634. TurnON   XON/XOFF
  8635. TurnON   NOISE
  8636. TurnON   MUSIC
  8637. TurnON   SCROLL
  8638. TurnOFF  PRINT
  8639. TurnOFF  ECHO
  8640. TurnOFF  SPLIT
  8641. TurnOFF  BS_DEL
  8642. ;
  8643. TimeOut  30     ; Set Waitfor timeout to 30 seconds
  8644.  
  8645. ╚════════════════════════════════════════════════╝
  8646.  
  8647. This sample was created by pressing Alt-Q, entering a script filename,
  8648. and then pressing Alt-Q again to save the file.
  8649.  
  8650. The top  of each  Quicklearned script  contains a time and date stamp,
  8651. followed by  the 10  Qmodem commands needed to restore the environment
  8652. at the time the script was recorded.  Note the second line: the script
  8653. may require editing before use.
  8654.  
  8655. QuickLearn also  forces a default script TIMEOUT command of 30 seconds
  8656. (the last  line of  the sample  script).   This default value is hard-
  8657. coded in  Qmodem and  can only  be changed  by  manually  editing  the
  8658. script.   The default  value is  probably higher  than necessary.  Set
  8659. this value  to the longest estimated time the script will have to wait
  8660. on data from the other system; if the delay exceeds the TIMEOUT value,
  8661. the script will be cancelled automatically.
  8662.  
  8663.  
  8664.  
  8665.  
  8666.  
  8667.  
  8668.  
  8669.  
  8670.  
  8671. 134                                           Qmodem Operations Manual
  8672.  
  8673.  
  8674.  
  8675.  
  8676.  
  8677. As QuickLearn  records the  session, it may capture text strings which
  8678. contain variable  data, such  as time and/or date information.  A good
  8679. example   would be  a script  created   while logging on to a Bulletin
  8680. Board System  (BBS).   Many Bbs's  feature command  line prompts which
  8681. include time  used and  time remaining  for the  current session.  The
  8682. values recorded  in the  original script  may never  be matched by the
  8683. values received when the script is replayed.  For example:
  8684.  
  8685. ╔════════════════════════════════════════════════╗
  8686.  
  8687. WaitFor  "56 min. left) Qmodem Conference Command?"
  8688. Delay    100
  8689. Send     "R S NS^M"
  8690.  
  8691. ╚════════════════════════════════════════════════╝
  8692.  
  8693. Needless to  say, the  script will  ONLY work  if there are EXACTLY 56
  8694. minutes left.     Likely, the  WAITFOR command will wait forever for a
  8695. prompt that  will never  come.   To eliminate  this problem,  edit the
  8696. WAITFOR command  and remove  variable information  which is  likely to
  8697. cause problems:
  8698.  
  8699. ╔════════════════════════════════════════════════╗
  8700.  
  8701. WaitFor  "Conference Command?"
  8702. Delay    100
  8703. Send     "R S NS^M"
  8704.  
  8705. ╚════════════════════════════════════════════════╝
  8706.  
  8707. The "56  min. left)  Qmodem "  was removed  from the  WAITFOR  string,
  8708. leaving a  generic prompt  which will  work at  any time,  and in  any
  8709. conference.
  8710.  
  8711.  
  8712. Commands that are recorded
  8713. ______________________________________________________________________
  8714. QuickLearn also  records certain Qmodem commands.  Following is a list
  8715. of supported  Qmodem commands,  and examples  of the  generated script
  8716. commands which replicate them:
  8717.  
  8718.   Alt-B   Beeps & Bells toggle
  8719.   
  8720.           TurnON   NOISE
  8721.           TurnOFF  NOISE
  8722.   
  8723.   
  8724.  
  8725.  
  8726.  
  8727.  
  8728.  
  8729. Version 4.0                                                        135
  8730.  
  8731.  
  8732.  
  8733.  
  8734.  
  8735.   Alt-C   Clears the screen
  8736.   
  8737.           ClrScr
  8738.   
  8739.   
  8740.   Alt-D   Dial an entry number
  8741.   
  8742.           Dial     "1"
  8743.   
  8744.           Note:  Only one entry can be tagged.
  8745.   
  8746.   
  8747.   Alt-D/L Load a new FON book
  8748.   
  8749.           LoadFON  C:\QMODEM\QMODEM.FON
  8750.   
  8751.   
  8752.   Alt-E   Half/Full Duplex toggle
  8753.   
  8754.           TurnON   ECHO
  8755.           TurnOFF  ECHO
  8756.   
  8757.   
  8758.   Alt-G   Change current terminal emulation mode
  8759.   
  8760.           Graphics TTY
  8761.           Graphics ANSI
  8762.           Graphics VT100
  8763.   
  8764.   
  8765.   Alt-H   Terminate the connection
  8766.   
  8767.           HangUp
  8768.   
  8769.   
  8770.   Alt-J/L Load a new KEY file
  8771.   
  8772.           LoadKEY  C:\QMODEM\VT100.KEY
  8773.   
  8774.   
  8775.   Alt-K   Change current COM Port selection
  8776.   
  8777.           Port     1
  8778.   
  8779.   
  8780.   Alt-L   Change current Logged Drive
  8781.   
  8782.           Drive    C
  8783.   
  8784.   
  8785.  
  8786.  
  8787. 136                                           Qmodem Operations Manual
  8788.  
  8789.  
  8790.  
  8791.  
  8792.  
  8793.   Alt-M   Toggle playing of MUSIC if detected
  8794.   
  8795.           TurnON   MUSIC
  8796.           TurnOFF  MUSIC
  8797.   
  8798.   
  8799.   Alt-O   Change current Subdirectory
  8800.   
  8801.           ChDir    C:\QMODEM\SCRIPTS
  8802.   
  8803.   
  8804.   Alt-P   Change current Baud Rate
  8805.   
  8806.           SetComm  19200 8 NONE 1
  8807.   
  8808.   
  8809.   Alt-Q   Toggle the QuickLearn mode
  8810.   
  8811.           [none, for reference only]
  8812.   
  8813.   
  8814.   Alt-R   Execute the DOS shell
  8815.   
  8816.           DOS      "COMMAND"
  8817.   
  8818.   
  8819.   Alt-S   Toggle the Split Screen mode
  8820.   
  8821.           TurnON   SPLIT
  8822.           TurnOFF  SPLIT
  8823.   
  8824.   
  8825.   Alt-U   Toggle the Scroll-back capture
  8826.   
  8827.           TurnON   SCROLL
  8828.           TurnOFF  SCROLL
  8829.   
  8830.   
  8831.   Alt-V   View a File with an external program
  8832.   
  8833.           DOS      "LIST filename"
  8834.   
  8835.           Note: cannot use either @FSE or @EDITOR
  8836.   
  8837.   
  8838.   Alt-X   Exit the Script AND Qmodem
  8839.   
  8840.           SYSTEM   Y/X
  8841.   
  8842.   
  8843.  
  8844.  
  8845. Version 4.0                                                        137
  8846.  
  8847.  
  8848.  
  8849.  
  8850.  
  8851.   Alt-Y   Delete a File
  8852.   
  8853.           DOS      "DEL filename"
  8854.   
  8855.   
  8856.   Alt-Z   Toggle the Xon/Xoff flow control
  8857.   
  8858.           TurnON   XON/XOFF
  8859.           TurnOFF  XON/XOFF
  8860.   
  8861.   
  8862.   Alt-1   Toggle the Backspace/DEL key output
  8863.   
  8864.           TurnON   BS_DEL
  8865.           TurnOFF  BS_DEL
  8866.   
  8867.   
  8868.   Alt-2   Set 80x25 line mode for EGA/VGA
  8869.   
  8870.           EGA      25
  8871.   
  8872.   
  8873.   Alt-4   Set 80x43/50 line mode for EGA/VGA
  8874.   
  8875.           EGA      43
  8876.   
  8877.   
  8878.   Alt-8   Toggle the Hi-Bit display
  8879.   
  8880.           TurnON   8_BIT
  8881.           TurnOFF  8_BIT
  8882.   
  8883.   
  8884.   Alt-9   Toggle the Printer Echo
  8885.   
  8886.           TurnON   PRINT
  8887.           TurnOFF  PRINT
  8888.   
  8889.   
  8890.   Alt-0   Toggle the LOG file on/off
  8891.   
  8892.           TurnOFF  LOG
  8893.           LOG      C:\QMODEM\QMODEM.LOG
  8894.   
  8895.   
  8896.   Sh-Tab  Toggle the Add Linefeeds
  8897.   
  8898.           TurnON   LINEFEED
  8899.           TurnOFF  LINEFEED
  8900.   
  8901.   
  8902.  
  8903. 138                                           Qmodem Operations Manual
  8904.  
  8905.  
  8906.  
  8907.  
  8908.  
  8909.   ^Home   Toggle the Capture file on/off
  8910.   
  8911.           TurnOFF  CAPTURE
  8912.           CAPTURE  C:\QMODEM\CAPTURE.TXT
  8913.   
  8914.   
  8915.   ^End         Send the UART BREAK signal
  8916.   
  8917.           Break
  8918.   
  8919.   
  8920.   PgUp/   Upload (send) a file
  8921.   ^PgUp   
  8922.           Upload   X filename
  8923.   
  8924.   
  8925.   PgDn/   Download (receive) a file
  8926.   ^PgDn
  8927.           Download X filename
  8928.   
  8929.   
  8930.   FKey xx Function Key macro execution
  8931.   
  8932.           FKey     13   [shift F1 key]
  8933.  
  8934.  
  8935. Putting it all together
  8936. ______________________________________________________________________
  8937. Now that  the basics  have  been  covered,  let's  go  over  a  sample
  8938. QuickLearn recording  session. The scripts were recorded while calling
  8939. the Forbin Project PCBoard BBS, Home of Qmodem.
  8940.  
  8941. First, a  little advance  information:   we will  call using the Alt-D
  8942. directory with  an attached  script name  of "FORBIN".   The  Password
  8943. field in  Alt-D for  the Forbin  entry will be used to link to an FKey
  8944. macro (F9 in this example).
  8945.  
  8946. In the  Function Key setup (Alt-J), we must edit the F9 key to contain
  8947. the string  "$PASSWORD^M".   Once this is done, we can press Alt-D and
  8948. tag the Forbin entry with a "Q" to invoke QuickLearn.
  8949.  
  8950.  
  8951.  
  8952.  
  8953.  
  8954.  
  8955.  
  8956.  
  8957.  
  8958.  
  8959.  
  8960.  
  8961. Version 4.0                                                        139
  8962.  
  8963.  
  8964.  
  8965.  
  8966.  
  8967. In this  example, the Fkey assignments are blank.  Our F9 entry should
  8968. look like:
  8969.  
  8970. ╔════════════════════════════════════════════════╗
  8971.  
  8972.  ╒═════════════════════════ Function Key Assignment ══════════════════════════╕
  8973.  │     Normal             Shift              Ctrl               Alt           │
  8974.  │F1                 F1                 F1                 F1                 │
  8975.  │F2                 F2                 F2                 F2                 │
  8976.  │F3                 F3                 F3                 F3                 │
  8977.  │F4                 F4                 F4                 F4                 │
  8978.  │F5                 F5                 F5                 F5                 │
  8979.  │F6                 F6                 F5                 F6                 │
  8980.  │F7                 F7                 F7                 F7                 │
  8981.  │F8                 F8                 F8                 F8                 │
  8982.  │F9  $PASSWORD^M    F9                 F9                 F9                 │
  8983.  │F10                F10                F10                F10                │
  8984.  │F11                F11                F11                F11                │
  8985.  │F12                F12                F12                F12                │
  8986.  │                                                                            │
  8987.  │ Key File is C:\QMODEM\QMODEM.KEY                                           │
  8988.  │                                                                            │
  8989.  │ 1 - Normal   2 - Shift   3 - Ctrl   4 - Alt   L - Load    ESC - Exit       │
  8990.  │                                                                            │
  8991.  │ Your Choice ? _                                                            │
  8992.  ╘════════════════════════════════════════════════════════════════════F1 Help═╛
  8993.  
  8994. ╚════════════════════════════════════════════════╝
  8995.  
  8996.  
  8997.  
  8998.  
  8999.  
  9000.  
  9001.  
  9002.  
  9003.  
  9004.  
  9005.  
  9006.  
  9007.  
  9008.  
  9009.  
  9010.  
  9011.  
  9012.  
  9013.  
  9014.  
  9015.  
  9016.  
  9017.  
  9018.  
  9019. 140                                           Qmodem Operations Manual
  9020.  
  9021.  
  9022.  
  9023.  
  9024.  
  9025. The Alt-D  screen is  also blank  except for the first directory entry
  9026. for the  Forbin Project  BBS.   The second  screen snapshot  shows the
  9027. "O"ther page of the directory with the Password field "MyPassword!".
  9028.  
  9029. ╔════════════════════════════════════════════════╗
  9030.  
  9031. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  9032. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  9033. │ Total Tags > 1                        Prefixes > ABC                         │
  9034. │[D]   Name                             Number          COM        Script      │
  9035. │1   Q Forbin Project BBS               1-319-233-6157 19200-8-N-1 FORBIN.SCR  │
  9036. │2                                                     19200-8-N-1             │
  9037.  
  9038.  
  9039. ╒═════════════════════════════════ Phone Book ═════════════════════════════════╕
  9040. │ Page  1 of C:\QMODEM\QMODEM.FON                                              │
  9041. │ Total Tags > 1                        Prefixes > ABC                         │
  9042. │[D]   Name                              Password        LastCall Total P D    │
  9043. │1   Q Forbin Project BBS                MyPassword!     08-22-88 1     F F    │
  9044. │2                                                                      F F    │
  9045.  
  9046. ╚════════════════════════════════════════════════╝
  9047.  
  9048.  
  9049.  
  9050.  
  9051.  
  9052.  
  9053.  
  9054.  
  9055.  
  9056.  
  9057.  
  9058.  
  9059.  
  9060.  
  9061.  
  9062.  
  9063.  
  9064.  
  9065.  
  9066.  
  9067.  
  9068.  
  9069.  
  9070.  
  9071.  
  9072.  
  9073.  
  9074.  
  9075.  
  9076.  
  9077. Version 4.0                                                        141
  9078.  
  9079.  
  9080.  
  9081.  
  9082.  
  9083. Calling Forbin...
  9084.  
  9085. ╔════════════════════════════════════════════════╗
  9086.  
  9087. CONNECT 19200 / 12-08-88 (13:39)
  9088. (Error Correcting Modem Detected)
  9089.  
  9090. The Forbin Project PCBoard System
  9091. PCBoard (R) - Version 14.0/E9 (Beta) - Node 2
  9092.  
  9093. Do you want ANSI Graphics (Enter)=no? n   <----- (1)
  9094.                          The Forbin Project PCBoard
  9095.                                    Home of
  9096.  
  9097.  ██████████  ███      ███  ██████████  ██████████   ████████████ ███      ███
  9098. ███▒▒▒▒▒▒███ █████  █████▒███▒▒▒▒▒▒███ ███▒▒▒▒▒███  ███▒▒▒▒▒▒▒▒▒▒█████  █████▒
  9099. ███▒     ███▒████████████▒███▒     ███▒███▒     ███ ███▒         ████████████▒
  9100. ███▒     ███▒███▒▒██▒▒███▒███▒     ███▒███▒     ███▒████████     ███▒▒██▒▒███▒
  9101. ███▒     ███▒███▒  ▒▒ ███▒███▒     ███▒███▒     ███▒███▒▒▒▒▒▒    ███▒  ▒▒ ███▒
  9102. ███▒  ██ ███▒███▒     ███▒███▒     ███▒███▒     ███▒███▒         ███▒     ███▒
  9103. ███▒   █████▒███▒     ███▒███▒     ███▒███▒    ███▒▒███▒         ███▒     ███▒
  9104.  ██████████▒▒███▒     ███▒███████████▒▒██████████▒▒ ████████████ ███▒     ███▒
  9105.   ▒▒▒▒▒▒▒███  ▒▒▒      ▒▒▒  ▒▒▒▒▒▒▒▒▒▒  ▒▒▒▒▒▒▒▒▒▒   ▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒▒      ▒▒▒
  9106.           ▒▒▒
  9107.  
  9108. What is your first name? john   <----- (2)
  9109.  What is your last name? friel  <----- (3)
  9110. Password (Dots will echo)? ...........  <----- (4)
  9111.  
  9112. Scan Message Base Since 'Last Read' (Enter)=yes?  <----- (5)
  9113.  
  9114. (Ctrl-K) or (Ctrl-X) Aborts, (Ctrl-S) Suspends.
  9115.  
  9116. Scanning Main (0) .
  9117.   Msgs For You: 2907
  9118.  Msgs From You: None
  9119.   # Msgs Found: 1
  9120.  
  9121.             (0----+----10---+----20---+----30---+----)
  9122.             (M123456789012345678901234567890123456789)
  9123. MBase Areas: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
  9124. MBase Scans: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
  9125. Caller Num.: 121355
  9126. Active Msgs: 795
  9127. Tr/Protocol: None        (Choose one above)
  9128.  
  9129. (998 min. left) Main Board Command?   <----- (6)
  9130.  
  9131. ╚════════════════════════════════════════════════╝
  9132.  
  9133.  
  9134.  
  9135. 142                                           Qmodem Operations Manual
  9136.  
  9137.  
  9138.  
  9139.  
  9140.  
  9141. Wherever information  was entered  in response  to  a  prompt,  it  is
  9142. followed by  a "<---  (n)" tag.   Following  is a  review of the above
  9143. session:
  9144.  
  9145.   1. N[ENTER]       ANSI graphics was not wanted.
  9146.   
  9147.   2. John[ENTER]         Entered my first name.
  9148.   
  9149.   3. Friel[ENTER]        Entered my last name.
  9150.   
  9151.   4. F9             Pressed the F9 key to send my password.
  9152.   
  9153.   5. [ENTER]        Pressed ENTER to scan Message base.
  9154.   
  9155.   6. Alt-Q               Pressed Alt-Q to end QuickLearn!
  9156.   
  9157.  
  9158.  
  9159.  
  9160.  
  9161.  
  9162.  
  9163.  
  9164.  
  9165.  
  9166.  
  9167.  
  9168.  
  9169.  
  9170.  
  9171.  
  9172.  
  9173.  
  9174.  
  9175.  
  9176.  
  9177.  
  9178.  
  9179.  
  9180.  
  9181.  
  9182.  
  9183.  
  9184.  
  9185.  
  9186.  
  9187.  
  9188.  
  9189.  
  9190.  
  9191.  
  9192.  
  9193. Version 4.0                                                        143
  9194.  
  9195.  
  9196.  
  9197.  
  9198.  
  9199. And QuickLearn generated the following script:
  9200.  
  9201. ╔════════════════════════════════════════════════╗
  9202.  
  9203. ;
  9204. ;  QuickLearn Script generated at 13:52:38 on 12-08-88
  9205. ;  May require editing before use.
  9206. ;
  9207. TurnON   8_BIT
  9208. TurnOFF  LINEFEED
  9209. TurnON   XON/XOFF
  9210. TurnON   NOISE
  9211. TurnON   MUSIC
  9212. TurnON   SCROLL
  9213. TurnOFF  PRINT
  9214. TurnOFF  ECHO
  9215. TurnOFF  SPLIT
  9216. TurnOFF  BS_DEL
  9217. ;
  9218. TimeOut  30     ; Set Waitfor timeout to 30 seconds
  9219. Waitfor  "want ANSI Graphics (Enter)=no?"
  9220. Delay    100
  9221. Send     "n^M"      <----- (1)
  9222.  
  9223. Waitfor  "What is your first name?"
  9224. Delay    100
  9225. Send     "john^M"   <----- (2)
  9226.  
  9227. Waitfor  "What is your last name?"
  9228. Delay    100
  9229. Send     "friel^M"  <----- (3)
  9230.  
  9231. Waitfor  "Password (Dots will echo)?"
  9232. Delay    100
  9233.  
  9234. FKey     9          <----- (4)
  9235. Waitfor  "Since 'Last Read' (Enter)=yes?"
  9236. Delay    100
  9237. Send     "^M"       <----- (5)
  9238.  
  9239. Waitfor  "Press (Enter) to continue?"
  9240. Delay    100
  9241. Send     "^M"
  9242.  
  9243. Waitfor  "min. left) Main Board Command?"
  9244. Delay    100
  9245.  
  9246. Exit            ; End of Script    <----- (6)
  9247.  
  9248. ╚════════════════════════════════════════════════╝
  9249.  
  9250.  
  9251. 144                                           Qmodem Operations Manual
  9252.  
  9253.  
  9254.  
  9255.  
  9256.  
  9257.    NOTE:  The "<---  (n)" tags  were added  for reference  purposes
  9258.           only.
  9259.  
  9260.  
  9261.  
  9262. Alt-R  DOS SHELL.
  9263. ______________________________________________________________________
  9264. If enough  system memory is available and a copy of COMMAND.COM can be
  9265. located via  the COMSPEC= environment variable or in the DOS PATH, you
  9266. may "Shell" to DOS.  Pressing Alt-R yields the following screen:
  9267.  
  9268. ╔════════════════════════════════════════════════╗
  9269.  
  9270. Qmodem «--» DOS Shell
  9271.  
  9272.  
  9273. The IBM Personal Computer DOS
  9274. Version 3.10 (C)Copyright International Business Machines Corp 1981, 1985
  9275.              (C)Copyright Microsoft Corp 1981, 1985
  9276.  
  9277. « Qmodem SST DOS Shell.  Type EXIT to return »
  9278. C:\>_
  9279.  
  9280. ╚════════════════════════════════════════════════╝
  9281.  
  9282. During a  DOS Shell, Qmodem is still running, capturing incoming data.
  9283. All standard  DOS commands  are available  from within  the DOS Shell.
  9284. For example,  you could  copy files,  format a disk, or run a separate
  9285. program AS LONG AS THERE IS SUFFICIENT MEMORY AVAILABLE TO DO SO.
  9286.  
  9287. To return  to Qmodem, type "EXIT" and press [ENTER] at the DOS prompt.
  9288. The Qmodem screen will be restored to its previous status.
  9289.  
  9290.    NOTE:  The Alt-R  command modifies  your existing PROMPT command
  9291.           to include  the message  shown above.   This  is  only  a
  9292.           temporary change so you do not forget Qmodem is running.
  9293.    
  9294.    CAUTION:  If the  DOS shell  remains  active  too  long,  Qmodem
  9295.              buffers may overflow and cause loss of data.
  9296.  
  9297.  
  9298.  
  9299.  
  9300.  
  9301.  
  9302.  
  9303.  
  9304.  
  9305.  
  9306.  
  9307.  
  9308.  
  9309. Version 4.0                                                        145
  9310.  
  9311.  
  9312.  
  9313.  
  9314.  
  9315. Possible Error conditions
  9316. ______________________________________________________________________
  9317. While in  the DOS  Shell, you  may not  execute programs  which attach
  9318. themselves to  DOS, terminate,  and stay  resident (IE. SideKick).  If
  9319. such a program is loaded, the following message will be displayed when
  9320. you attempt to EXIT back to Qmodem:
  9321.  
  9322. ╔══════════════════════════════════════════════════╗
  9323.  
  9324. A TSR was loaded while executing the DOS Shell and Qmodem cannot recover.
  9325. A Reboot (Ctrl-Alt-Del) is recommended at this time.
  9326. > Tap any key to continue <
  9327.  
  9328. ╚══════════════════════════════════════════════════╝
  9329.  
  9330. At this  point, you can return to Qmodem, but only long enough to save
  9331. any open  files and  re-boot the system.  Your online session will not
  9332. be disturbed  and you  can get  right back  online by executing Qmodem
  9333. again.
  9334.  
  9335.  
  9336. .FON File Protection
  9337. ______________________________________________________________________
  9338. When returning  from a  DOS shell,  Qmodem checks  the Phone Directory
  9339. (.FON file)  to see  if it  has been  updated.   If it has, then it is
  9340. automatically  reloaded.    This  feature  was  implemented  to  allow
  9341. execution of  external phone  book editors  such as QFE from Sunflower
  9342. Systems.
  9343.  
  9344.  
  9345. Alternate Screen Sizes
  9346. ______________________________________________________________________
  9347. The Qmodem  DOS Shell  is able  to  recognize  a  screen  size  change
  9348. (feasible with EGA and VGA displays), and will adjust accordingly.  If
  9349. an external  program changes  the size  of the screen while in the DOS
  9350. Shell, that change will be recognized upon return to Qmodem.
  9351.  
  9352. Under normal  circumstances, Qmodem  restores the  screen to  its size
  9353. before the  DOS Shell  was invoked.  If a size change is detected, the
  9354. following Status window will be displayed:
  9355.  
  9356. ╔════════════════════════════════════════════════╗
  9357.  
  9358.                ╒═════════════════ Status ══════════════════╕
  9359.                │ Video mode changed.  Screen not restored. │
  9360.                ╘═══════════════════════════════════════════╛
  9361.  
  9362. ╚════════════════════════════════════════════════╝
  9363.  
  9364.  
  9365.  
  9366.  
  9367. 146                                           Qmodem Operations Manual
  9368.  
  9369.  
  9370.  
  9371.  
  9372.  
  9373. Alt-S  SPLIT SCREEN MODE.
  9374. ______________________________________________________________________
  9375. In split-screen  mode, Qmodem  divides the  screen into  two areas  to
  9376. separate incoming and outgoing text:
  9377.  
  9378. ╔════════════════════════════════════════════════╗
  9379.  
  9380.  
  9381.  
  9382.  
  9383.   ══[ Keystrokes Queued 0 ]═══════[ Split Screen ]════════════════════════════════
  9384.  
  9385.  
  9386.  
  9387.   ▒ TTY    Offline 19200-8-N-1 ▒ Home=? ▒ FDX ▒ 8    X       LG     ▒ 10:33:18 ▒
  9388.  
  9389. ╚════════════════════════════════════════════════╝
  9390.  
  9391. The larger  section at  the top of the screen is reserved for incoming
  9392. text received  from the  remote computer.   The smaller section at the
  9393. bottom  of   the  screen   echoes  transmitted  keystrokes.    Current
  9394. keystrokes are displayed on the screen's dividing line.
  9395.  
  9396. Qmodem implements  a true  split-screen mode,   complete  with  a  254
  9397. character input  buffer.   Pressing [ENTER]  immediately transmits the
  9398. buffer and  clears it  for additional  input.   Stored keystrokes  are
  9399. displayed on  the screen's  dividing line.  The characters "^M" can be
  9400. used to substitute an [ENTER] in the string.
  9401.  
  9402. If another  terminal emulation  other than TTY is in effect when Alt-S
  9403. is pressed,  it is  remembered so it can be restored when split screen
  9404. is exited.   The  split screen  mode requires TTY emulation to operate
  9405. correctly.
  9406.  
  9407.    NOTE:  If you use FKey macros, ^M will not cause the contents of
  9408.           the character  buffer to be sent;  the text stored in the
  9409.           FKey macro will be appended to the buffer.
  9410.  
  9411.  
  9412.  
  9413.  
  9414.  
  9415.  
  9416.  
  9417.  
  9418.  
  9419.  
  9420.  
  9421.  
  9422.  
  9423.  
  9424.  
  9425. Version 4.0                                                        147
  9426.  
  9427.  
  9428.  
  9429.  
  9430.  
  9431. Alt-T  SCREEN DUMP.
  9432. ______________________________________________________________________
  9433. Screen contents  can be  copied to  a disk file via the Alt-T command.
  9434. When pressing Alt-T, the following window is displayed:
  9435.  
  9436. ╔════════════════════════════════════════════════╗
  9437.  
  9438.    ╒═════════════════════ Screen Dump File Allocation ═════════════════════╕
  9439.    │                                                                       │
  9440.    │  > C:\SCREEN.DMP░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  9441.    │                                                                       │
  9442.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  9443.  
  9444.  
  9445. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9446.  
  9447. ╚════════════════════════════════════════════════╝
  9448.  
  9449. The default  file name is that defined in the Qmodem configuration; it
  9450. may be  changed in the Alt-T prompt.  The screen contents are APPENDed
  9451. (added to the end of) to the screen dump file and are preceded by with
  9452. a Time and Date stamp.  If the screen dump file does not exist, a file
  9453. creation prompt will be issued.
  9454.  
  9455. If the  dump was  successful, Qmodem will issue a quick "bleep" sound,
  9456. accompanied by a confirmation message in the Alt-T window:
  9457.  
  9458. ╔════════════════════════════════════════════════╗
  9459.  
  9460.                   ╒══════════════ Status ═══════════════╕
  9461.                   │ Screen Dump saved to C:\SCREEN.DMP  │
  9462.                   ╘═════════════════════════════════════╛
  9463.  
  9464. ╚════════════════════════════════════════════════╝
  9465.  
  9466.  
  9467.  
  9468. Alt-U  SCROLL BACK TOGGLE.
  9469. ______________________________________________________________________
  9470. The Alt-U  Scroll-back command  toggle  use  of  Qmodem's  scroll-back
  9471. capture buffer.   The  Scroll-back  command  is  discussed  under  the
  9472. heading "Up Arrow" later in the documentation.
  9473.  
  9474. Qmodem starts  with Scroll-back capture ACTIVE:  all data displayed on
  9475. the screen is stored in the scroll-back buffer for later recall.
  9476.  
  9477.  
  9478.  
  9479.  
  9480.  
  9481.  
  9482.  
  9483. 148                                           Qmodem Operations Manual
  9484.  
  9485.  
  9486.  
  9487.  
  9488.  
  9489. When pressing Alt-U, the following Status window is displayed:
  9490.  
  9491.  
  9492. ╔════════════════════════════════════════════════╗
  9493.  
  9494.                     ╒════ Status ═════╕
  9495.                     │ Scroll Back OFF │
  9496.                     ╘═════════════════╛
  9497.  
  9498.                     ╒════ Status ═════╕
  9499.                     │ Scroll Back ON  │
  9500.                     ╘═════════════════╛
  9501.  
  9502. ╚════════════════════════════════════════════════╝
  9503.  
  9504.  
  9505.  
  9506. Alt-V  VIEW A FILE.
  9507. ______________________________________________________________________
  9508. Pressing Alt-V  invokes the  file viewer/editor  program.   When  that
  9509. command is issued, the View/Edit file allocation window is displayed:
  9510.  
  9511. ╔════════════════════════════════════════════════╗
  9512.  
  9513.    ╒════════════════════════ View File Allocation ═════════════════════════╕
  9514.    │                                                                       │
  9515.    │  > L ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  9516.    │                                                                       │
  9517.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  9518.  
  9519. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9520.  
  9521. ╚════════════════════════════════════════════════╝
  9522.  
  9523. Alt-V can be thought of as a flexible gateway used to browse or edit a
  9524. file.  The above example assumes use of Vern Buerg's popular LIST (TM)
  9525. program, available  on most  Bbs's.  LIST is sophisticated replacement
  9526. for the DOS TYPE command.
  9527.  
  9528. Although intended  for file browsing or editing, the Alt-V gateway can
  9529. be used  to invoke  any program,  even WordStarσ!   The  program to be
  9530. called by  Alt-V can be defined in Setup (Alt-N/F/V) or can be changed
  9531. on the  fly.   For example,  you could type "DEL *.BAK" and [ENTER] to
  9532. delete all  the files  in the  current directory  with an extension of
  9533. ".BAK".
  9534.  
  9535.    NOTE:  If an  external program is specified, a DOS Shell is used
  9536.           and sufficient memory must be available.
  9537.  
  9538.  
  9539.  
  9540.  
  9541. Version 4.0                                                        149
  9542.  
  9543.  
  9544.  
  9545.  
  9546.  
  9547. Alt-V also  accepts two  special commands:  @FSE and  @EDITOR.  If you
  9548. specify either of these at the beginning of the command, the following
  9549. actions will take place:
  9550.  
  9551. @FSE instructs  Qmodem to  use its  internal editor  to edit/view  the
  9552. file.   This also  assumes that the text following @FSE is a valid DOS
  9553. filename.   The size  of the file is limited by the memory assigned to
  9554. the editor in the Alt-N/O/M/E Setup menu.
  9555.  
  9556. Following is  an example of Alt-V use to edit the AUTOEXEC.BAT file in
  9557. the C:\ directory:
  9558.  
  9559. ╔════════════════════════════════════════════════╗
  9560.  
  9561.    ╒════════════════════════ View File Allocation ═════════════════════════╕
  9562.    │                                                                       │
  9563.    │  > @FSE C:\AUTOEXEC.BAT░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  9564.    │                                                                       │
  9565.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  9566.  
  9567. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9568.  
  9569. ╚════════════════════════════════════════════════╝
  9570.  
  9571. @EDITOR instructs  Qmodem to  use the  user-defined editor rather than
  9572. the Qmodem  internal editor  in any function where the internal editor
  9573. would have  been used --such as editing the attached Note files in the
  9574. dialing directory (Alt-D/N) or the attached Scripts (Alt-D/V)--.
  9575.  
  9576. The following  example uses  the @EDITOR  keyword to  define Microsoft
  9577. Word as the editor:
  9578.  
  9579. ╔════════════════════════════════════════════════╗
  9580.  
  9581.    ╒════════════════════════ View File Allocation ═════════════════════════╕
  9582.    │                                                                       │
  9583.    │  > @EDITOR WORD C:\AUTOEXEC.BAT░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  9584.    │                                                                       │
  9585.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  9586.  
  9587. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9588.  
  9589. ╚════════════════════════════════════════════════╝
  9590.  
  9591.  
  9592.  
  9593.  
  9594.  
  9595.  
  9596.  
  9597.  
  9598.  
  9599. 150                                           Qmodem Operations Manual
  9600.  
  9601.  
  9602.  
  9603.  
  9604.  
  9605. Alt-W  DISK DIRECTORY.
  9606. ______________________________________________________________________
  9607. The Alt-W  command is  Qmodem's internal  version of the "DIR /p". DOS
  9608. command.   Qmodem will produce a file listing of the current directory
  9609. (see the Alt-W command to change directory).
  9610.  
  9611. In addition,  an estimated  file transfer  time will be shown for each
  9612. file, based  on the current baud rate.  To experiment, change the baud
  9613. rate with  the Alt-P  command and see the effect the change has on the
  9614. estimated transfer times shown in Alt-W.
  9615.  
  9616.    NOTE:  If you are using a floppy based system, you will first be
  9617.           prompted to insert a diskette into the drive.
  9618.  
  9619. Following is a sample Alt-W display:
  9620.  
  9621. ╔════════════════════════════════════════════════╗
  9622.  
  9623.                             ╒═ Filename    Bytes    Time    Date    XmitTime ══╕
  9624.                             │                                                  │
  9625.                             │Disk has no Volume Label.                         │
  9626.                             │ Path : Z:\                                       │
  9627.                             │ Use Pattern *.*                                  │
  9628.                             │                                                  │
  9629.                             │                                                  │
  9630.                             │                                                  │
  9631.                             │                                                  │
  9632.                             │                                                  │
  9633.                             │                                                  │
  9634.                             │                                                  │
  9635.                             │                                                  │
  9636.                             │                                                  │
  9637.                             ╘══════════════════════════════════════════F1 Help═╛
  9638. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Key in a Filename, * ? are valid. [CR] = *.* ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9639.  
  9640. ╚════════════════════════════════════════════════╝
  9641.  
  9642. As is  the case  with the  DOS prompt,  you may  change the  directory
  9643. listing argument,  with all  standard wildcard  "*?" characters  being
  9644. supported.   Pressing [ENTER]  defaults to *.* (all files).   Refer to
  9645. your DOS manual for proper use of wildcard characters in DIR commands.
  9646.  
  9647. Alt-W displays  one screen  of information at a time and prompts for a
  9648. keystroke before  going on.  Pressing [ESC] skips the remainder of the
  9649. listing and  displays free  space on  the current  drive.    The  next
  9650. keystroke following  [ESC] or  the normal end of the directory listing
  9651. will return Qmodem to the standard terminal screen.
  9652.  
  9653.  
  9654.  
  9655.  
  9656.  
  9657. Version 4.0                                                        151
  9658.  
  9659.  
  9660.  
  9661.  
  9662.  
  9663. Following is a sample of a directory listing:
  9664.  
  9665. ╔════════════════════════════════════════════════╗
  9666.  
  9667.                             ╒═ Filename    Bytes    Time    Date    XmitTime ══╕
  9668.                             │Disk has no Volume Label.                         │
  9669.                             │ Path : Z:\                                       │
  9670.                             │ .              <DIR>  13:16  07-29-88  00:00:01  │
  9671.                             │ ..             <DIR>  13:16  07-29-88  00:00:01  │
  9672.                             │ HOSTDIR        <DIR>  13:16  07-29-88  00:00:01  │
  9673.                             │ DL             <DIR>  13:20  07-29-88  00:00:01  │
  9674.                             │ MASTER         <DIR>  13:20  07-29-88  00:00:01  │
  9675.                             │ MODEMS         <DIR>  13:22  07-29-88  00:00:01  │
  9676.                             │ MPI            <DIR>  13:22  07-29-88  00:00:01  │
  9677.                             │ SCRIPTS        <DIR>  13:22  07-29-88  00:00:01  │
  9678.                             │ SITEVERS       <DIR>  13:27  07-29-88  00:00:01  │
  9679.                             │ XFERS          <DIR>  13:27  07-29-88  00:00:01  │
  9680.                             │ !DIRTREE.1DR     352   8:19  07-26-88  00:00:01  │
  9681.                             │ ARK24K.CNF      3072  18:03  03-21-88  00:00:03  │
  9682.                             │ AS.PAS          1312  10:08  05-04-88  00:00:01  │
  9683.                             │ AS2.PAS           97  10:09  05-04-88  00:00:01  │
  9684.                             │ ASYNC.TPU        960  21:37  08-15-88  00:00:01  │
  9685.                             │ BACKIT.BAT        29   1:14  05-11-88  00:00:01  │
  9686.                             │ BAUD.PAS        8362  15:35  08-05-88  00:00:06  │
  9687.                             │ BAUD.TPU        4848  16:34  08-20-88  00:00:04  │
  9688.                             │ BINED.TPU      24352  18:30  03-23-88  00:00:17  │
  9689.                             │ Tap any key to continue, [ESC] to exit           │
  9690.                             ╘══════════════════════════════════════════F1 Help═╛
  9691. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9692.  
  9693. ╚════════════════════════════════════════════════╝
  9694.  
  9695.  
  9696.  
  9697. Alt-X  EXITING QMODEM.
  9698. ______________________________________________________________________
  9699. To exit  Qmodem, press  Alt-X.   The following  prompt window  will be
  9700. displayed:
  9701.  
  9702. ╔════════════════════════════════════════════════╗
  9703.  
  9704.                          ╒════════ Exit Qmodem ════════╕
  9705.                          │  Are you sure? [Y/N/X] _    │
  9706.                          ╘═════════════════════F1 Help═╛
  9707.  
  9708.  
  9709. ▒▒▒▒ [Y]es - Drop DTR and Exit   [N]o - Return   [X] - Leave DTR Up and Exit ▒▒▒
  9710.  
  9711. ╚════════════════════════════════════════════════╝
  9712.  
  9713.  
  9714.  
  9715. 152                                           Qmodem Operations Manual
  9716.  
  9717.  
  9718.  
  9719.  
  9720.  
  9721. Replying Y  to the prompt will immediately terminate Qmodem, close the
  9722. serial port  (and hang  up the  modem if a connection was active), and
  9723. close the Capture and LOG files if they were opened.
  9724.  
  9725. Entering an  "X" will  cause Qmodem  to exit  to DOS and leave the DTR
  9726. line active,  which does  NOT  hang  up  the  modem  and  retains  the
  9727. connection if  one was  active.   This allows you to perform any other
  9728. process, such  as run  an external  program which requires more memory
  9729. then is available via the Qmodem DOS Shell facility.
  9730.  
  9731. When the  "X" option  is used  AND you  are  online,  the  environment
  9732. settings are  saved in a file called QMODEM.INI.  The next time Qmodem
  9733. is started,  the values stored in QMODEM.INI will override the default
  9734. configuration, and QMODEM.INI is deleted.  If Qmodem is NOT restarted,
  9735. the QMODEM.INI file will remain and should be deleted if not needed.
  9736.  
  9737. Replying N  to the  prompt or  pressing [ESC] cancels the exit request
  9738. and returns Qmodem to the terminal screen.
  9739.  
  9740.    CAUTION:  Data received  after you  exit Qmodem via Alt-X-X will
  9741.              be lost.     Use this exit option when you are sure no
  9742.              data will  be sent  by the  remote computer  (IE,  the
  9743.              remote computer  is waiting  for YOUR  input).    Most
  9744.              modems and  many remote  computers will  disconnect if
  9745.              the connection remains inactive for an extended period
  9746.              of time.   Be  aware of these limitations when exiting
  9747.              Qmodem via Alt-X-X.
  9748.  
  9749.  
  9750.  
  9751. Alt-Y  DELETE A FILE.
  9752. ______________________________________________________________________
  9753. Alt-Y is  a powerful  command used to permanently delete a file.  When
  9754. pressing Alt-Y, the File Delete Allocation Window will be displayed:
  9755.  
  9756. ╔════════════════════════════════════════════════╗
  9757.  
  9758.    ╒═══════════════════════ File Delete Allocation ════════════════════════╕
  9759.    │                                                                       │
  9760.    │  > Z:░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  9761.    │                                                                       │
  9762.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  9763.  
  9764.  
  9765. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9766.  
  9767. ╚════════════════════════════════════════════════╝
  9768.  
  9769.  
  9770.  
  9771.  
  9772.  
  9773. Version 4.0                                                        153
  9774.  
  9775.  
  9776.  
  9777.  
  9778.  
  9779. Type the  desired file name in the space provided and [ENTER].  Qmodem
  9780. will verify  that the  file exists.  If it does, a second confirmation
  9781. prompt will be issued, just to be sure:
  9782.  
  9783. ╔════════════════════════════════════════════════╗
  9784.  
  9785.         ╒═════════════════ File Delete - Be Careful! ═════════════════╕
  9786.         │ You are about to delete the following file                  │
  9787.         │ Z:HEADERS                                                   │
  9788.         │                                                             │
  9789.         │ Are you SURE ??? [Y/N] _                                    │
  9790.         │                                                             │
  9791.         ╘═════════════════════════════════════════════════════F1 Help═╛
  9792.  
  9793. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ [Y] to delete the file   [N] to abort ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9794.  
  9795. ╚════════════════════════════════════════════════╝
  9796.  
  9797. This is  your last  chance.   If you  erase the  wrong file, issue the
  9798. Alt-R DOS  Shell command  IMMEDIATELY and  attempt to recover the lost
  9799. file with a program such as Norton's Undelete, PCTools, Mace Utilities
  9800. etc...  There is no UNERASE facility built into Qmodem.
  9801.  
  9802.  
  9803.  
  9804. Alt-Z  XON/XOFF TOGGLE.
  9805. ______________________________________________________________________
  9806. Alt-Z toggles  Xon/Xoff flow  control. XON/XOFF  is a  simple means of
  9807. controlling data  flow, used  mostly by  mini and mainframe computers.
  9808. With Xon/Xoff  in the  OFF mode,  a buffer  overrun may  occur on long
  9809. ASCII text  transmissions (incoming data will exceed Qmodem's internal
  9810. buffer capacity).
  9811.  
  9812. If Xon/Xoff is ON and Qmodem detects the Xoff (^S) code, the following
  9813. window will be displayed:
  9814.  
  9815. ╔════════════════════════════════════════════════╗
  9816.  
  9817.                          ╒═══ Status ════╕
  9818.                          │ Xon/Xoff OFF  │
  9819.                          ╘═══════════════╛
  9820.  
  9821. ╚════════════════════════════════════════════════╝
  9822.  
  9823.  
  9824.  
  9825.  
  9826.  
  9827.  
  9828.  
  9829.  
  9830.  
  9831. 154                                           Qmodem Operations Manual
  9832.  
  9833.  
  9834.  
  9835.  
  9836.  
  9837. When the remote system is ready to receive more data, it will send the
  9838. Xon (^Q)  code and the window will disappear.  If you believe there is
  9839. a problem, you can manually restart the data transfer by pressing ^Q.
  9840.  
  9841.  
  9842.  
  9843. FILE TRANSFERS-Protocol Selection
  9844. ______________________________________________________________________
  9845. Selecting a  protocol is  the first step in a file upload or download.
  9846. Pressing PgUp  (upload or  send) or  PgDn (download  or receive)  will
  9847. display the  same protocol  window  (except  for  the  upload/download
  9848. window label):
  9849.  
  9850. ╔════════════════════════════════════════════════╗
  9851.  
  9852.                            ╒═══ Upload Protocols ═══╕
  9853.                            │ A - Ascii              │
  9854.                            │ X - Xmodem             │
  9855.                            │ C - Xmodem CRC         │
  9856.                            │ R - Xmodem Relaxed     │
  9857.                            │ O - Xmodem-1K          │
  9858.                            │ Y - Ymodem (batch)     │
  9859.                            │ F - Xmodem-1K/G        │
  9860.                            │ G - Ymodem/G (batch)   │
  9861.                            │ Your Choice ?          │
  9862.                            ╘════════════════F1 Help═╛
  9863.  
  9864. ▒▒▒▒▒▒▒▒▒▒▒▒ Select a Protocol for the File Transfer.  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒
  9865.  
  9866. ╚════════════════════════════════════════════════╝
  9867.  
  9868.  
  9869.  
  9870.  
  9871.  
  9872.  
  9873.  
  9874.  
  9875.  
  9876.  
  9877.  
  9878.  
  9879.  
  9880.  
  9881.  
  9882.  
  9883.  
  9884.  
  9885.  
  9886.  
  9887.  
  9888.  
  9889. Version 4.0                                                        155
  9890.  
  9891.  
  9892.  
  9893.  
  9894.  
  9895. If external  protocols are  available, they  will be  displayed at the
  9896. bottom of the protocol selection window:
  9897.  
  9898. ╔════════════════════════════════════════════════╗
  9899.  
  9900.                            ╒═══ Upload Protocols ═══╕
  9901.                            │ A - Ascii              │
  9902.                            │ X - Xmodem             │
  9903.                            │ C - Xmodem CRC         │
  9904.                            │ R - Xmodem Relaxed     │
  9905.                            │ O - Xmodem-1K          │
  9906.                            │ Y - Ymodem (batch)     │
  9907.                            │ F - Xmodem-1K/G        │
  9908.                            │ G - Ymodem/G (batch)   │
  9909.                            ╞═══════ External ═══════╡
  9910.                            │ Z - Zmodem             │
  9911.                            │ Q - QMail Zmodem       │
  9912.                            │ Your Choice ?          │
  9913.                            ╘════════════════F1 Help═╛
  9914.  
  9915. ╚════════════════════════════════════════════════╝
  9916.  
  9917. The protocol  selection windows both feature the "F" and "G" protocols
  9918. (Xmodem-1K/G  and   Ymodem/G).     These  are   "Hardware-handshaking"
  9919. protocols which  can only be used if your computer is equipped with an
  9920. error-correcting modem (IE. a modem which supports MNP).
  9921.  
  9922. To activate  these, CTS  checking must  be specified  in the Alt-N/O/T
  9923. setup menu.   If  CTS checking is not specified, or if it is specified
  9924. and your  computer is not equipped with an error-correcting modem, the
  9925. F and G selections will not be available.
  9926.  
  9927.    NOTE:  Protocol letter  assignments have  been changed in Qmodem
  9928.           4.0.  These are now compatible with the standard protocol
  9929.           selection letters in PCBoard(TM), release 14.
  9930.    NOTE:  The Imodem protocol is no longer supported in Qmodem 4.0.
  9931.           The new  F and  G protocols are now fully compatible with
  9932.           the Xmodem1K/G  and Ymodem/G (batch) standards defined by
  9933.           Omen Technology,  and implemented  in their  DSZ external
  9934.           communication driver.
  9935.  
  9936. When uploading  or  downloading  files,  both  sending  and  receiving
  9937. computers must use the same communication protocol. Select the agreed-
  9938. upon protocol by pressing the corresponding letter.  "X", for example,
  9939. would select Xmodem, which is supported almost universally.
  9940.  
  9941.  
  9942.  
  9943.  
  9944.  
  9945.  
  9946.  
  9947. 156                                           Qmodem Operations Manual
  9948.  
  9949.  
  9950.  
  9951.  
  9952.  
  9953.    NOTE:  Bulletin Board (BBS) programs each use a different method
  9954.           for   selecting    file   transfer   protocols.      When
  9955.           communicating  with  a  BBS,  make  sure  that  you  have
  9956.           selected the  proper protocol  on the  BBS System  before
  9957.           making the protocol selection in Qmodem.
  9958.  
  9959. Once the  protocol  has  been  selected,  the  selection  window  will
  9960. disappear and two new windows will be displayed on the screen:.
  9961.  
  9962. ╔════════════════════════════════════════════════╗
  9963.  
  9964.    ╒═══════════════════════ Upload File Allocation ════════════════════════╕
  9965.    │                                                                       │
  9966.    │  > ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  9967.    │                                                                       │
  9968.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  9969.  
  9970.  
  9971. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  9972.  
  9973. ╚════════════════════════════════════════════════╝
  9974.  
  9975. Whether  uploading   (sending)  or   downloading  (receiving),  Qmodem
  9976. displays a  prompt for  the name and extension  of the file to be sent
  9977. to or received from the other computer.
  9978.  
  9979. Qmodem has  the ability to "pick" file names directly from the screen.
  9980. Qmodem scans  the screen  from right  to left  and bottom to top for a
  9981. valid file  name.  "Valid File Name" is defined as a 1- to 8-character
  9982. text string  followed by  a period  and a  2- or  3-character  suffix.
  9983. Spaces, semicolons, and the left and right margins are valid file name
  9984. delimiters.   Following are  some examples  of valid  and invalid file
  9985. names:
  9986.  
  9987.      THISFILE.TXT   valid
  9988.      README.1       invalid (not enough chars in suffix)
  9989.      QMDMSST.ARC    valid
  9990.      PROGRAM.THIS   invalid (too many characters in suffix)
  9991.      MPROGRAM1.THIS invalid (name too long)
  9992.  
  9993.  
  9994. If Qmodem  did not  find a suitable file name, or if the one picked is
  9995. not correct, the file name must be added or edited manually.  Once the
  9996. desired file  name has been specified, press [Enter] to start the file
  9997. transfer.
  9998.  
  9999.  
  10000.  
  10001.  
  10002.  
  10003.  
  10004.  
  10005. Version 4.0                                                        157
  10006.  
  10007.  
  10008.  
  10009.  
  10010.  
  10011. ASCII Protocol
  10012. ______________________________________________________________________
  10013. The ASCII  protocol is  used primarily  for online  text transfers; it
  10014. does not  support the  transfer of  binary  data  (such  as  programs,
  10015. compressed files etc...).
  10016.  
  10017.    NOTE:  Unlike most  other protocols,  ASCII does not perform any
  10018.           error-checking, which  makes it  very sensitive  to  line
  10019.           noise.   Bursts of phone line interference will introduce
  10020.           stray characters  which are  not part  of the  data being
  10021.           transmitted.   For this  reason, ASCII  transfers are not
  10022.           recommended unless  they are  used for  specific purposes
  10023.           where that  protocol is  needed (IE.,  uploading  message
  10024.           data directly into a BBS message base).
  10025.  
  10026. When ASCII  mode is  selected, XON/XOFF  flow control  is  in  effect.
  10027. Pressing [ESC] at any time will terminate the transfer.
  10028.  
  10029. During an  ASCII transfer,  the  screen  is  divided  into  two  areas
  10030. (similar to the Alt-S split-screen mode).  Following is a sample ASCII
  10031. upload (sending the Z:\QMODEM.LOG file):
  10032.  
  10033. ╔════════════════════════════════════════════════╗
  10034.  
  10035. 16:50:20  11-18-88  Online Timer Started.
  10036. 16:50:29  11-18-88  ********** HOST STARTED **********
  10037. 16:50:58  11-18-88  @HOST CALLER > JOHN FRIEL
  10038. 16:51:05  11-18-88  @HOST HANGUP > JOHN off
  10039. 16:51:06  11-18-88  Hangup Command entered.
  10040. 16:51:08  11-18-88  Elapsed Online 00:00:47
  10041. 16:51:32  11-18-88  *********** HOST ENDED ***********
  10042. 17:44:39  11-18-88  Connected With  : Exec-QwikNet    Mail-Stop
  10043. 17:44:39  11-18-88  ++ Phone Number : 1-914-667-4759
  10044. 17:44:39  11-18-88  ++ Comm Speed   : 19200-8-N-1
  10045.  
  10046. ════════════  Outgoing Text  ═════════════  Incoming Text  ════════════
  10047. 16:50:20  11-18-88  Online Timer Started.
  10048. 16:50:29  11-18-88  ********** HOST STARTED **********
  10049. 16:50:58  11-18-88  @HOST CALLER > JOHN FRIEL
  10050. 16:51:05  11-18-88  @HOST HANGUP > JOHN off
  10051. 16:51:06  11-18-88  Hangup Command entered.
  10052. 16:51:08  11-18-88  Elapsed Online 00:00:47
  10053. 16:51:32  11-18-88  *********** HOST ENDED ***********
  10054. 17:44:39  11-18-88  Connected With  : Exec-QwikNet    Mail-Stop
  10055. 17:44:39  11-18-88  ++ Phone Number : 1-914-667-4759
  10056. 17:44:39  11-18-88  ++ Comm Speed   : 19200-8-N-1
  10057.  
  10058.   ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Uploading Z:\QMODEM.LOG   [ESC] to Terminate ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  10059.  
  10060. ╚════════════════════════════════════════════════╝
  10061.  
  10062.  
  10063. 158                                           Qmodem Operations Manual
  10064.  
  10065.  
  10066.  
  10067.  
  10068.  
  10069. Outgoing text  is displayed in the lower window.  Text received by the
  10070. other computer, if echoed back, will be displayed in the top window.
  10071.  
  10072.    NOTE:  ASCII transfer  parameters are  defined in  the Alt-N/P/A
  10073.           Setup menu.
  10074.  
  10075.  
  10076. XMODEM Protocol
  10077. ______________________________________________________________________
  10078. There are  two XMODEM protocols currently in use.  The original Xmodem
  10079. uses a  "Checksum" method to insure that the data received is the same
  10080. as that  which was  sent.   Checksum is  a very simple error-detection
  10081. method with an accuracy rate of 99.6%.  Xmodem-Checksum transmits 128-
  10082. byte data blocks.
  10083.  
  10084.  
  10085. XMODEM CRC
  10086. ______________________________________________________________________
  10087. Xmodem-CRC (Cyclic Redundancy Checking) is similar to Xmodem-Checksum,
  10088. but uses  a far  more reliable  error-detection algorithm (99.9969%.).
  10089. In the  event that the wrong Xmodem protocol was selected, Qmodem will
  10090. correct itself  automatically, eliminating  the need  for aborting the
  10091. transfer.
  10092.  
  10093.  
  10094. RELAXED XMODEM
  10095. ______________________________________________________________________
  10096. Relaxed Xmodem  is basically  identical to  Xmodem-Checksum, but error
  10097. timing has  been relaxed  by a factor of 10.  In other words, it takes
  10098. ten times  longer for  an error  condition  to  be  generated.    This
  10099. protocol was designed specifically for CompuServe communications,  due
  10100. to  the   questionable  implementation   of  Xmodem   by  that  Online
  10101. Information Service.
  10102.  
  10103.  
  10104. XMODEM-1K
  10105. ______________________________________________________________________
  10106. Xmodem-1K is  a modified  version of  Xmodem CRC, which uses 1024-byte
  10107. blocks as opposed to Xmodem's 128 byte blocks.  In earlier releases of
  10108. Qmodem, this  protocol was  referred to  as Ymodem.  The name has been
  10109. changed to  reflect the  addition of True Ymodem ((c) Omen Technology)
  10110. to Qmodem 4.0.
  10111.  
  10112.  
  10113. YMODEM (batch)
  10114. ______________________________________________________________________
  10115. Ymodem is  the true implementation of the YMODEM batch protocol and is
  10116. referred to  as YMODEM  or YMODEM  BATCH.   This protocol supports the
  10117. transfer of  multiple files  within a  single session  which does  not
  10118. require user intervention.
  10119.  
  10120.  
  10121. Version 4.0                                                        159
  10122.  
  10123.  
  10124.  
  10125.  
  10126.  
  10127. When using  Ymodem, only  one filename can be specified at a time.  To
  10128. allow multiple  file transfers, wildcards must be used in the filename
  10129. for uploads.   For  downloads, Qmodem  will automatically retrieve the
  10130. names of the files being sent from their respective header records.
  10131.  
  10132. Example:
  10133.  
  10134. ╔════════════════════════════════════════════════╗
  10135.  
  10136.    ╒═══════════════════════ Upload File Allocation ════════════════════════╕
  10137.    │                                                                       │
  10138.    │  > FILENAME.1 FILENAME.2 FILENAME.3░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  10139.    │                                                                       │
  10140.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  10141.  
  10142. ╚════════════════════════════════════════════════╝
  10143.  
  10144.  
  10145. This is INCORRECT. You cannot enter multiple filenames.
  10146.  
  10147. Instead, use the following:
  10148.  
  10149. ╔════════════════════════════════════════════════╗
  10150.  
  10151.    ╒═══════════════════════ Upload File Allocation ════════════════════════╕
  10152.    │                                                                       │
  10153.    │  > FILENAME.?░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  10154.    │                                                                       │
  10155.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  10156.  
  10157. ╚════════════════════════════════════════════════╝
  10158.  
  10159.  
  10160. XMODEM-1K/G & YMODEM/G
  10161. ______________________________________________________________________
  10162. These two  protocols are  identical to  their non-/G  counterparts. /G
  10163. protocols do  not perform  any error  detection and rely on the error-
  10164. correction features  of the  modems.   Modems equipped  with  internal
  10165. protocols such  as MNP, LAP-B, and X.PC insure that communications are
  10166. error-free.  Hardware handshaking via the CTS/RTS signal lines must be
  10167. enabled with such modems.
  10168.  
  10169. /G protocols will not be available unless the following is true:
  10170.  
  10171.      CTS checking is enabled in the Alt-N/O/T/C Setup menu option.
  10172.   
  10173.      The modem's  CTS signal  is  enabled  when  the  serial  port  is
  10174.      initialized.
  10175.   
  10176.  
  10177.  
  10178.  
  10179. 160                                           Qmodem Operations Manual
  10180.  
  10181.  
  10182.  
  10183.  
  10184.  
  10185.    CAUTION:  Make sure that the modem does not force the CTS signal
  10186.              ON at  all times.   This  will cause  a  modem  buffer
  10187.              overflow resulting in an aborted transfer.
  10188.  
  10189.    NOTE:  Xmodem-1K/G  and  Ymodem/G  cannot  retransmit  bad  data
  10190.           blocks.  In theory, there should be NO bad blocks of data
  10191.           in an  error-free connection.   If errors occur, they are
  10192.           likely to  be cause  by an  improper setup  in either the
  10193.           modem or Qmodem.
  10194.  
  10195. High-speed or  Error-Correcting modems  communicate with Qmodem at the
  10196. hardware level  via the  CTS/RTS interface.   The modem cables used in
  10197. conventional modems  (IE 1200/2400,  non-MNP units)  may not carry all
  10198. the necessary  signals (pins could be missing).  The wrong cable could
  10199. prevent Qmodem  from detecting  the CTS signal, and ignore the modem's
  10200. hardware-handshaking capabilities.
  10201.  
  10202. When in  doubt, use  a serial cable with all 25 pins connected (a flat
  10203. ribbon, 25-conductor  cable).   AT Users  may use  a 9-pin  to  25-pin
  10204. adapter with  all 9  lines connected, attached to a 25-conductor cable
  10205. as described above.
  10206.  
  10207.  
  10208. External Protocols
  10209. ______________________________________________________________________
  10210. Due to  their nature,  External  protocols  do  not  have  a  seamless
  10211. interface and  operate differently  from built-in  protocols.  When an
  10212. external protocol  is used,  Qmodem invokes  the protocol's  upload or
  10213. download BATCH  file which  in turn  executes the  external protocol's
  10214. file transfer program.
  10215.  
  10216. Since Qmodem  has no  control over  external programs, screen displays
  10217. will be  handled entirely by the external program.  The screen will be
  10218. cleared before  control is  passed to  the external protocol, and once
  10219. the transfer  is complete, you will be returned to the standard Qmodem
  10220. terminal display.
  10221.  
  10222. For more  information on  installing External  protocols, refer to the
  10223. Setup (Alt-N/P) section.   For protocol-specific information, refer to
  10224. the external protocol's documentation.
  10225.  
  10226.  
  10227.  
  10228. PgUp  UPLOAD - FILE TRANSFER WINDOW
  10229. ______________________________________________________________________
  10230. Once the  protocol has  been selected,  Qmodem  tracks  file  transfer
  10231. status information  in a  special "File  Transfer  Window",  which  is
  10232. covered in this section.
  10233.  
  10234.  
  10235.  
  10236.  
  10237. Version 4.0                                                        161
  10238.  
  10239.  
  10240.  
  10241.  
  10242.  
  10243.    NOTE:  The Qmodem  File Transfer  Window is NOT used by external
  10244.           protocols.   External protocols  use  proprietary  screen
  10245.           displays  which  are  described  in  the  protocol's  own
  10246.           documentation.
  10247.  
  10248.    NOTE:  The Transfer  Windows used  for uploads and downloads are
  10249.           almost identical;  it is  described here.  Only the minor
  10250.           differences between  the two  windows will  be covered in
  10251.           the Download Section of this manual.
  10252.  
  10253. ╔════════════════════════════════════════════════╗
  10254.  
  10255.                                             ╒═══ Upload File (transmit) ════╕
  10256.                                             │ Filename     : QMODEM.PAS     │
  10257.                                             │ Protocol     : Xmodem-1K      │
  10258.                                             │ Total Blocks : 10             │
  10259.                                             │ Blocks Sent  : 7              │
  10260.                                             │ Bytes Sent   : 7168           │
  10261.                                             │ Elapsed Time : 00:00:10       │
  10262.                                             │ Average CPS  : 717            │
  10263.                                             │ Efficiency   : 74.7%          │
  10264.                                             │ Error        : 0              │
  10265.                                             │ Status Msgs  :                │
  10266.                                             │      0   % complete   100     │
  10267.                                             │      ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓■■■■■     │
  10268.                                             ╘═══════════════════════════════╛
  10269.  
  10270.  
  10271. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Upload in progress.   Press [ESC] to Abort ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  10272.  
  10273. ╚════════════════════════════════════════════════╝
  10274.  
  10275. The File Transfer Window has been completely redesigned in release 4.0
  10276. of Qmodem.   More  information is displayed, and its format is simpler
  10277. and easier  to read.   The File Transfer Window contains the following
  10278. fields:
  10279.  
  10280.   Filename:
  10281.   
  10282.      The name  of the  file being  uploaded.   Only  the  filename  is
  10283.      displayed;  the drive and path are not shown.
  10284.   
  10285.   
  10286.   Protocol:
  10287.   
  10288.      The name of the file transfer protocol.
  10289.   
  10290.   
  10291.  
  10292.  
  10293.  
  10294.  
  10295. 162                                           Qmodem Operations Manual
  10296.  
  10297.  
  10298.  
  10299.  
  10300.  
  10301.   Total Blocks:
  10302.   
  10303.      The total number of data blocks in the file.
  10304.   
  10305.   
  10306.   Blocks Sent/Received:
  10307.   
  10308.      The number of blocks transmitted.
  10309.   
  10310.   
  10311.   Bytes Sent/Received:
  10312.   
  10313.      The total  Bytes sent  so far.   Xmodem,  Xmodem/CRC  and  Xmodem
  10314.      Relaxed use  a 128-byte  block.   All other  protocols use a 1024
  10315.      byte (1K) block.
  10316.   
  10317.   
  10318.   Elapsed Time:
  10319.   
  10320.      The amount  of time elapsed since the file transfer started.  The
  10321.      startup  delay   during  which   the  two  computers  synchronize
  10322.      themselves is not counted.
  10323.   
  10324.   
  10325.   Average CPS:
  10326.   
  10327.      Average transfer  speed in  Character Per  Second.  This value is
  10328.      re-computed after  each block.  With non error-correcting modems,
  10329.      the maximum  CPS rate  is approximately  1/10th the  CONNECT rate
  10330.      (IE, 240  CPS when  the modems  are connected  at 2400bps).  With
  10331.      high-speed 9600bps  modems,  Average CPS value can range from 950
  10332.      to 1200 depending on serial speed, computer speed, protocol used,
  10333.      and phone line quality.
  10334.   
  10335.   
  10336.   Efficiency %:
  10337.   
  10338.      The  CPS-to-Connect   Rate  ratio.   This  ratio   reflects   the
  10339.      performance of  the file  transfer.   With  non  error-correcting
  10340.      modems, the  maximum efficiency  is 90  to 95%.  With high-speed,
  10341.      error-correcting modems  (IE., MNP3/MNP4)  efficiency  can  reach
  10342.      120% to  130% if  the serial  rate exceeds the connect rate (IE.,
  10343.      19200bps vs.  9600bps).  With data compression (MNP5), efficiency
  10344.      on text transfers can reach 170% to 180%.
  10345.   
  10346.   
  10347.  
  10348.  
  10349.  
  10350.  
  10351.  
  10352.  
  10353. Version 4.0                                                        163
  10354.  
  10355.  
  10356.  
  10357.  
  10358.  
  10359.   Error:
  10360.   
  10361.      Current error  count.  If an error occurs, and the block in error
  10362.      is successfully  re-transmitted, this  counter is reset to 0.  If
  10363.      the error count reaches 10, the transfer is aborted.
  10364.   
  10365.   
  10366.   Status Msgs:
  10367.   
  10368.      File transfer  status messages,  such as  "SUCCESS", "Waiting for
  10369.      NAK", etc..
  10370.   
  10371.   
  10372.   Transfer Completion Graph:
  10373.   
  10374.      The bottom  of the  window displays a moving bar which tracks the
  10375.      progress of  the file  transfer.   This graph is always displayed
  10376.      during uploads.   The  graph is also displayed during true Ymodem
  10377.      and Ymodem-G  downloads, which communicate the file size in their
  10378.      header record, which allows transfer progress to be tracked.
  10379.  
  10380.  
  10381.  
  10382. PgDn  DOWNLOAD PROTOCOLS.
  10383. ______________________________________________________________________
  10384. Since  uploads   and  downloads   are  essentially   identical,   only
  10385. operational differences  will be  described in  this  section  of  the
  10386. manual.
  10387.  
  10388. The same  protocols are  available for  both  Uploads  and  Downloads;
  10389. protocol descriptions  will not  be repeated.  For information on file
  10390. transfer protocols, please refer to the upload section in this manual.
  10391.  
  10392.  
  10393.  
  10394.  
  10395.  
  10396.  
  10397.  
  10398.  
  10399.  
  10400.  
  10401.  
  10402.  
  10403.  
  10404.  
  10405.  
  10406.  
  10407.  
  10408.  
  10409.  
  10410.  
  10411. 164                                           Qmodem Operations Manual
  10412.  
  10413.  
  10414.  
  10415.  
  10416.  
  10417. The Download Protocol selection window is shown below:
  10418.  
  10419. ╔════════════════════════════════════════════════╗
  10420.  
  10421.                            ╒══ Download Protocols ══╕
  10422.                            │ Free Space 10145792    │
  10423.                            │ A - Ascii              │
  10424.                            │ X - Xmodem             │
  10425.                            │ C - Xmodem CRC         │
  10426.                            │ R - Xmodem Relaxed     │
  10427.                            │ 1 - Xmodem-1K          │
  10428.                            │ Y - Ymodem (batch)     │
  10429.                            │ F - Xmodem-1K/G        │
  10430.                            │ G - Ymodem/G (batch)   │
  10431.                            ╞═══════ External ═══════╡
  10432.                            │ Z - Zmodem             │
  10433.                            │ Q - QMail Zmodem       │
  10434.                            │ Your Choice ? F        │
  10435.                            ╘════════════════F1 Help═╛
  10436.  
  10437. ▒▒▒▒▒▒▒▒▒▒▒▒ Select a Protocol for the File Transfer.  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒
  10438.  
  10439. ╚════════════════════════════════════════════════╝
  10440.  
  10441. For downloads,  Qmodem displays  the  amount  of  free  space  on  the
  10442. download drive  at the top of the window.  Protocol selections are the
  10443. same as in the Upload Protocol window.
  10444.  
  10445.  
  10446. ASCII
  10447. ______________________________________________________________________
  10448. During ASCII  downloads,  the  screen  is  cleared  and  a  window  is
  10449. displayed stating  that pressing [ESC] will terminate the transfer and
  10450. save the  file.   If the transfer is started, but no data is received,
  10451. Qmodem will delete the empty file and return to the terminal screen.
  10452.  
  10453.  
  10454.  
  10455.  
  10456.  
  10457.  
  10458.  
  10459.  
  10460.  
  10461.  
  10462.  
  10463.  
  10464.  
  10465.  
  10466.  
  10467.  
  10468.  
  10469. Version 4.0                                                        165
  10470.  
  10471.  
  10472.  
  10473.  
  10474.  
  10475. XMODEM, XMODEM CRC,
  10476. XMODEM RELAXED and XMODEM-1K/G
  10477. ______________________________________________________________________
  10478. Following is a sample Download Window for all above protocols:
  10479.  
  10480. ╔════════════════════════════════════════════════╗
  10481.  
  10482.                                             ╒═══ Download File (receive) ═══╕
  10483.                                             │ Filename     : TESTFILE       │
  10484.                                             │ Protocol     : Xmodem-1K      │
  10485.                                             │ Blocks       : 5              │
  10486.                                             │ Bytes        : 5120           │
  10487.                                             │ Elapsed Time : 00:00:08       │
  10488.                                             │ Average CPS  : 618            │
  10489.                                             │ Efficiency   : 64.3%          │
  10490.                                             │ Error        : 0              │
  10491.                                             │ Status Msgs  :                │
  10492.                                             │      0    % complete  100     │
  10493.                                             │      status·not·available     │
  10494.                                             ╘═══════════════════════════════╛
  10495.  
  10496. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Download in progress.   Press [ESC] to Abort ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  10497. ╚════════════════════════════════════════════════╝
  10498.  
  10499. Note that  the download  window is  very similar to the upload window.
  10500. The major differences are:
  10501.  
  10502.   Blocks:
  10503.   
  10504.      The number of blocks received.
  10505.   
  10506.   
  10507.   Bytes:
  10508.   
  10509.      The number of bytes received.
  10510.   
  10511.   
  10512.   Bottom Bar:
  10513.   
  10514.      Shows "status  not available" because the file size is unknown at
  10515.      the start of the transfer.
  10516.   
  10517.  
  10518.  
  10519.  
  10520.  
  10521.  
  10522.  
  10523.  
  10524.  
  10525.  
  10526.  
  10527. 166                                           Qmodem Operations Manual
  10528.  
  10529.  
  10530.  
  10531.  
  10532.  
  10533. YMODEM and YMODEM/G.
  10534. ______________________________________________________________________
  10535. True Ymodem  and Ymodem/G  batch protocols include "Header Records" in
  10536. the downloaded data.  These records contain file-dependent information
  10537. such as  name, size,  and date/time  stamps.   As a result, file names
  10538. need not  be specified prior to starting batch downloads.  As an added
  10539. benefit, the  moving Transfer Completion Graph is updated during batch
  10540. downloads since file sizes are known.
  10541.  
  10542. When the filename is extracted from the header block, it is checked to
  10543. see if  it will  create a  valid DOS  filename.  The Ymodem header was
  10544. designed  to  be  flexible  and  allow  for  non  MS-DOS  file  naming
  10545. conventions.  Apple, Atari and Commodore computers are more liberal in
  10546. their file  naming conventions  and these  need to  be converted  when
  10547. downloading these files.
  10548.  
  10549. Suppose you  are calling a non-IBM BBS system and want to download one
  10550. of their  foreign files  and you  are using  Ymodem as  the  protocol.
  10551. Qmodem converts their filename to one that is acceptable to MS-DOS on-
  10552. the-fly.
  10553.  
  10554. The rules for the conversion are:
  10555.  
  10556.   1. The last ".", if any, in the Header filename is where the new DOS
  10557.      filename extension will begin.
  10558.   
  10559.   2. The first  8 character (or less, depending on the position of the
  10560.      "." in  step 1)  is converted.   Periods  (".") are replaced with
  10561.      dollar-signs  ("$"),   and  spaces   ("  ")   are  replaced  with
  10562.      underscores ("_").
  10563.  
  10564.  
  10565. Examples:
  10566.  
  10567.      Foreign Filename         Converted Filename
  10568.  
  10569.      STARTER.ARC.STV1.2       STARTER$.2
  10570.      ST.DATAKIT.ARC.4         ST$DATAK.4
  10571.      ST.SOUND.ARC.1.2         ST$SOUND.2
  10572.      A LONG NAME.EXTENS       A_LONG_N.EXT
  10573.  
  10574.  
  10575.  
  10576. UP-ARROW  SCROLL-BACK.
  10577. ______________________________________________________________________
  10578. As  the   online  session  progresses,  Qmodem  stores  all  displayed
  10579. information in  a special  scroll-back buffer.  Pressing the  Up-Arrow
  10580. selects Scroll-back  mode.   While in  this  mode,    you  can  scroll
  10581. backward and forward through previously displayed text.
  10582.  
  10583.  
  10584.  
  10585. Version 4.0                                                        167
  10586.  
  10587.  
  10588.  
  10589.  
  10590.  
  10591. The size of the scroll-back buffer is defined in the Alt-N/O/M/S Setup
  10592. menu.
  10593.  
  10594. Following is a sample scroll-back display:
  10595.  
  10596. ╔════════════════════════════════════════════════╗
  10597.  
  10598. Qmodem SST Version 4.0  Compiled Dec 9,1988
  10599. Copyright (C) 1984,88 -- The Forbin Project, Inc.
  10600. Registered to : [UNREGISTERED COPY]
  10601. Scroll-Back lines available : 250
  10602. LOGing to QMODEM.LOG
  10603.  
  10604. You are now in TERMINAL mode
  10605. ATZ
  10606. OK
  10607. at&v
  10608. ACTIVE PROFILE:
  10609. B1 E1 L1 M1 N1 Q0 T V1 W2 X4 Y0 &C1 &D2 &G0 &J0 &K3 &L0 &P0 &Q5 &R0 &S0 &T4 &X0
  10610. &Y0
  10611. S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:060 S08:002 S09:006
  10612. S10:014 S11:060 S12:050 S18:000 S25:005 S26:001 S36:003 S37:000 S38:020
  10613.  
  10614. STORED PROFILE 0:
  10615. B1 E1 L1 M1 N1 Q0 T V1 W0 X4 Y0 &C1 &D2 &G0 &J0 &K3 &L0 &P0 &Q5 &R0 &S0 &T4 &X0
  10616. S00:000 S06:002 S07:060 S08:002 S09:006 S10:014 S11:060 S12:050 S18:000 S25:005
  10617. S26:001 S36:003 S37:000 S38:020
  10618.  
  10619. STORED PROFILE 1:
  10620. B1 E1 L1 M1 N1 Q0 T V1 W0 X4 Y0 &C1 &D2 &G0 &J0 &K3 &L0 &P0 &Q5 &R0 &S0 &T4 &X0
  10621. S00:000 S06:002 S07:060 S08:002 S09:006 S10:014 S11:060 S12:050 S18:000 S25:005
  10622. ▒▒▒ SCROLL-BACK        PgDn  [F1]Help [S]ave [C]lear [ESC]Exit  Queued 0    ▒▒
  10623.  
  10624. ╚════════════════════════════════════════════════╝
  10625.  
  10626. In Qmodem  4.0, the  Scroll-back status  line has  been reduced  to  a
  10627. single line  to increase  the text  view area.   While  in scroll-back
  10628. mode, the following cursor keys are active:
  10629.  
  10630.   Up/Dn:  move up or down one line.
  10631.   
  10632.   PgUp/PgDn:   move up or down one page at a time.
  10633.   
  10634.   Home/End:    move to the top and bottom of the buffer.
  10635.  
  10636. Pressing [ESC]  exits scroll-back  mode and  returns to  the  terminal
  10637. screen.
  10638.  
  10639.  
  10640.  
  10641.  
  10642.  
  10643. 168                                           Qmodem Operations Manual
  10644.  
  10645.  
  10646.  
  10647.  
  10648.  
  10649. Pressing [S]  will display  a prompt for the name of the file to which
  10650. the scroll-back buffer is to be saved:
  10651.  
  10652. ╔════════════════════════════════════════════════╗
  10653.  
  10654.    ╒══════════════════ Scroll Back Dump File Allocation ═══════════════════╕
  10655.    │                                                                       │
  10656.    │  > C:\BACKSCRL.SAV░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  10657.    │                                                                       │
  10658.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  10659.  
  10660. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  10661.  
  10662. ╚════════════════════════════════════════════════╝
  10663.  
  10664. As with  other Qmodem  file prompts, you may override the default file
  10665. name and press [ENTER] to save the file.
  10666.  
  10667. Pressing [C]  clears the  Scroll-back buffer  and frees  up the memory
  10668. allocated to it.
  10669.  
  10670.    NOTE:  The scroll-back buffer uses standard DOS memory.  As more
  10671.           data is  stored into  the scroll-back  buffer, the memory
  10672.           available for  a DOS Shell or external program is reduced
  10673.           accordingly.   If you experience memory shortage while in
  10674.           a DOS  Shell, or  while running  an external program (IE,
  10675.           external editor, external protocol), clearing the scroll-
  10676.           back buffer may alleviate the problem.
  10677.  
  10678. The "Queued"  counter, at  the right  of the  scroll-back status line,
  10679. tracks the  amount of  incoming data while you are viewing Scroll-back
  10680. information.
  10681.  
  10682.    NOTE:  ANSI or  VT100 graphics  which rely on cursor-positioning
  10683.           command are  not displayed  properly while in scroll-back
  10684.           mode.  This is not a bug, but rather an opportunity for a
  10685.           future upgrade.
  10686.  
  10687.  
  10688.  
  10689. CTRL-HOME  CAPTURE TO DISK.
  10690. ______________________________________________________________________
  10691. Ctrl-Home is  a toggle  which starts or stops Qmodem's Session Capture
  10692. facility.   While Session Capture is active, the data displayed on the
  10693. screen is also saved to a disk file.
  10694.  
  10695.  
  10696.  
  10697.  
  10698.  
  10699.  
  10700.  
  10701. Version 4.0                                                        169
  10702.  
  10703.  
  10704.  
  10705.  
  10706.  
  10707. When  Session   Capture  is  started,  the  following  "Capture"  file
  10708. allocation window will be displayed:
  10709.  
  10710. ╔════════════════════════════════════════════════╗
  10711.  
  10712.    ╒═══════════════════════ Capture File Allocation ═══════════════════════╕
  10713.    │                                                                       │
  10714.    │  > Z:\CAPTURE.1░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░   │
  10715.    │                                                                       │
  10716.    ╘══════════════════════════════════════════════════════════ / F1 Help═╛
  10717.  
  10718. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ Edit File/Pathname  -or-  [ESC] to Exit ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  10719.  
  10720. ╚════════════════════════════════════════════════╝
  10721.  
  10722. The file  name may be changed by backspacing over the default name and
  10723. typing a  new one.   If  the capture file is new, you will be prompted
  10724. for its  creation.   Reply "Y"  to do  so, or "N" to enter a different
  10725. name.   Pressing [ESC]  will cancel  the session  capture request  and
  10726. return to the terminal screen.
  10727.  
  10728. Whenever session  capture  starts,  the  following  status  window  is
  10729. displayed:
  10730.  
  10731. ╔════════════════════════════════════════════════╗
  10732.  
  10733.           ╒══════════════ Status ═══════════════╕
  10734.           │ Capture Session to Z:\CAPTURE.1 ON  │
  10735.           ╘═════════════════════════════════════╛
  10736.  
  10737. ╚════════════════════════════════════════════════╝
  10738.  
  10739.  
  10740. To end  Session Capture, press Ctrl-Home again.  The capture file will
  10741. be closed and the following status window will be displayed:
  10742.  
  10743. ╔════════════════════════════════════════════════╗
  10744.  
  10745.                ╒══════ Status ═══════╕
  10746.                │ Capture File Closed │
  10747.                ╘═════════════════════╛
  10748.  
  10749. ╚════════════════════════════════════════════════╝
  10750.  
  10751.  
  10752.  
  10753.  
  10754.  
  10755.  
  10756.  
  10757.  
  10758.  
  10759. 170                                           Qmodem Operations Manual
  10760.  
  10761.  
  10762.  
  10763.  
  10764.  
  10765. CTRL-END  SENDING A TRUE BREAK.
  10766. ______________________________________________________________________
  10767. Pressing Ctrl-End  generates a  BREAK signal.   "BREAK"  is a  special
  10768. signal generated  by the serial adapter,  used to notify the receiving
  10769. computer of  a specific  condition.   In most  cases, BREAK is used to
  10770. tell the  other computer  to interrupt  whatever it  is  doing.    For
  10771. example, the  GEnie Online  Service interprets the BREAK signal in the
  10772. same manner as your PC would interpret ^C or Ctrl-Break.
  10773.  
  10774. In response to Ctrl-End, Qmodem displays the following message:
  10775.  
  10776. ╔════════════════════════════════════════════════╗
  10777.  
  10778. <<BREAK>>
  10779.  
  10780. ╚════════════════════════════════════════════════╝
  10781.  
  10782.    NOTE:  As is  the case  with PC programs which disable or ignore
  10783.           Ctrl-Break, the BREAK signal may not be recognized by the
  10784.           receiving computer.   BREAK handling is a function of the
  10785.           communication software,  and  this  feature  may  not  be
  10786.           implemented in the computer you are communicating with.
  10787.  
  10788.  
  10789. SHIFT-TAB  ADD LINEFEEDS.
  10790. ______________________________________________________________________
  10791. In some  cases, text lines may be overwritten on the screen.  The most
  10792. likely reason  is that the other computer is not sending Linefeed (LF)
  10793. characters at the end of each line.
  10794.  
  10795. Pressing Shift-Tab  toggles the  addition of a Linefeed (LF) character
  10796. to each  incoming Carriage  Return (CR).   To  turn the  Add  Linefeed
  10797. feature OFF, press Shift-Tab again.
  10798.  
  10799.    NOTE:  If text  lines are  double-spaced,  Linefeeds  are  being
  10800.           added when  they shouldn't.   Press  Shift-Tab  again  to
  10801.           disable Linefeed addition.
  10802.  
  10803.  
  10804.  
  10805.  
  10806.  
  10807.  
  10808.  
  10809.  
  10810.  
  10811.  
  10812.  
  10813.  
  10814.  
  10815.  
  10816.  
  10817. Version 4.0                                                        171
  10818.  
  10819.  
  10820.  
  10821.  
  10822.  
  10823. When Shift-Tab is pressed, one of the following status windows will be
  10824. displayed:
  10825.  
  10826. ╔════════════════════════════════════════════════╗
  10827.  
  10828.                     ╒══ Status ══╕
  10829.                     │ Add LF ON  │
  10830.                     ╘════════════╛
  10831.  
  10832.                     ╒══ Status ═══╕
  10833.                     │ Add LF OFF  │
  10834.                     ╘═════════════╛
  10835.  
  10836. ╚════════════════════════════════════════════════╝
  10837.  
  10838.  
  10839.  
  10840. Alt-1  BACKSPACE <-> DEL TOGGLE.
  10841. ______________________________________________________________________
  10842. Alt-1 toggles  the value  generated by  the Backspace  key between the
  10843. standard backspace and the DEL character.
  10844.  
  10845. In normal  operating mode,  Backspace (BS) and Ctrl-H (^H) are treated
  10846. in the same fashion and both generate a Backspace (ASCII 8) character.
  10847. Certain terminals,  such as the DEC VT100 require that a DEL character
  10848. be sent (ASCII 127) when the backspace key is pressed.
  10849.  
  10850. When pressing Alt-1, one of the following windows will be displayed:
  10851.  
  10852. ╔════════════════════════════════════════════════╗
  10853.  
  10854.                      ╒════ Status ═════╕
  10855.                      │ Backspace is ^H │
  10856.                      ╘═════════════════╛
  10857.  
  10858.                     ╒═════ Status ══════╕
  10859.                     │ Backspace is DEL  │
  10860.                     ╘═══════════════════╛
  10861.  
  10862. ╚════════════════════════════════════════════════╝
  10863.  
  10864. The BS/DEL  setting can  be  reversed  on-the-fly  by  pressing  Ctrl-
  10865. Backspace.   The current  status of  the BS/DEL toggle is displayed in
  10866. the Alt-N/O/T setup menu.
  10867.  
  10868.  
  10869.  
  10870.  
  10871.  
  10872.  
  10873.  
  10874.  
  10875. 172                                           Qmodem Operations Manual
  10876.  
  10877.  
  10878.  
  10879.  
  10880.  
  10881.    NOTE:  If  the   BS/DEL  setting   is  incorrect,  pressing  the
  10882.           Backspace key  will not  yield the  desired result on the
  10883.           receiving computer.   If  the toggle  is active  and  the
  10884.           other computer  expects a  BS character,  it will display
  10885.           the ASCII  127 instead (ASCII 127 on IBM PCs is displayed
  10886.           as a little house).
  10887.  
  10888.  
  10889.  
  10890. Alt-2 and Alt-4   EGA/VGA SCREEN MODES.
  10891. ______________________________________________________________________
  10892. Qmodem supports 2 alternate screen modes with EGA/VGA adapter.
  10893.  
  10894. Alt-2 restores  the standard  80x25 video  mode for  both EGA  and VGA
  10895. adapters.
  10896.  
  10897. Alt-4 switches  EGA systems  to 80x43  mode and  VGA systems  to 80x50
  10898. mode.
  10899.  
  10900. The screen will be cleared following each video mode change.
  10901.  
  10902.    TIP:  Some  "SuperEGA"   or  "SuperVGA"  adapters  also  support
  10903.          extended screen  modes beyond  the standard 80x25 display.
  10904.          These extended  modes can  be used  if they  are activated
  10905.          within  Qmodem  with  a  F-Key  macro  which  invokes  the
  10906.          adapters' setup utility with a @SHELL command.
  10907.          Example: The  Video-7 VEGA VGA comes with a utility called
  10908.          ESU.COM used  to switch  video modes.  To run this utility
  10909.          within Qmodem,  assign the  command "@SHELL ESU 43"  to  a
  10910.          Qmodem function key via the Alt-J command.
  10911.  
  10912.  
  10913.  
  10914. Alt-8  HI BIT STRIPPING TOGGLE.
  10915. ______________________________________________________________________
  10916. Some minicomputers  or mainframe computer systems use the high (first)
  10917. bit of each 8-bit character for parity checking (IE.,CompuServe or the
  10918. Source).   If the  high bit  is not  removed, the  screen display will
  10919. consist of  high-order ASCII  characters (>ASCII 127) such as foreign,
  10920. graphic, or scientific characters.
  10921.  
  10922.  
  10923.  
  10924.  
  10925.  
  10926.  
  10927.  
  10928.  
  10929.  
  10930.  
  10931.  
  10932.  
  10933. Version 4.0                                                        173
  10934.  
  10935.  
  10936.  
  10937.  
  10938.  
  10939. Alt-8 toggles the stripping of the high-bit ON and OFF.  When pressing
  10940. Alt-8, one of the following status windows will be displayed:
  10941.  
  10942. ╔════════════════════════════════════════════════╗
  10943.  
  10944.                     ╒══ Status ═══╕
  10945.                     │ Hi-Bit OFF  │
  10946.                     ╘═════════════╛
  10947.  
  10948.                      ╒═ Status ══╕
  10949.                      │ Hi-Bit ON │
  10950.                      ╘═══════════╛
  10951.  
  10952. ╚════════════════════════════════════════════════╝
  10953.  
  10954. Qmodem starts  in 8-bit  mode by  default.  This can be changed with a
  10955. Script command  to  automate  high-bit  stripping,  for  example  when
  10956. calling Compuserve.
  10957.  
  10958. The Status  Line will  display an  "8" or  "7" in  the Toggles area to
  10959. reflect the current mode.
  10960.  
  10961. Some BBS's  use fancy  graphics characters  and ANSI escape codes.  To
  10962. display these properly, 8 bit mode must be in effect.
  10963.  
  10964.  
  10965.  
  10966. Alt-9  COPYING TO THE PRINTER.
  10967. ______________________________________________________________________
  10968. The Alt-9  printer session  toggle is  similar to  the DOS  Ctrl-PrtSc
  10969. command.   If your  system is  equipped with a printer, pressing Alt-9
  10970. will replicate  all screen  displays on  the system  printer.  To stop
  10971. session printing, press Alt-9 again.
  10972.  
  10973. When pressing  Alt-9, one  of the  following status  windows  will  be
  10974. displayed:
  10975.  
  10976. ╔════════════════════════════════════════════════╗
  10977.  
  10978.                     ╒══ Status ═══╕
  10979.                     │ Printer ON  │
  10980.                     ╘═════════════╛
  10981.  
  10982.                     ╒══ Status ═══╕
  10983.                     │ Printer OFF │
  10984.                     ╘═════════════╛
  10985.  
  10986. ╚════════════════════════════════════════════════╝
  10987.  
  10988.  
  10989.  
  10990.  
  10991. 174                                           Qmodem Operations Manual
  10992.  
  10993.  
  10994.  
  10995.  
  10996.  
  10997. The printer  should be READY when the Alt-9 command is issued.  If the
  10998. system is  not equipped  with a  printer, or  the printer is not ready
  10999. (IE., powered off or offline), Qmodem will display an "Abort or Retry"
  11000. error status window.
  11001.  
  11002.  
  11003.  
  11004. Alt-0  LOG FILE TOGGLE.
  11005. ______________________________________________________________________
  11006. The Alt-0 command starts or stops Qmodem Session Log recording.
  11007.  
  11008. The Qmodem  session LOG  feature is used to keep track of major Qmodem
  11009. activity.   When the  session log is active, Qmodem writes an entry in
  11010. the session log file reflecting information such as:
  11011.  
  11012.   Who was called
  11013.   
  11014.   The date and time of the call
  11015.   
  11016.   How long the online session
  11017.   
  11018.  
  11019. Each log entry is time- and date-stamped.
  11020.  
  11021. Alt-0 is  a toggle.  If the Log File is closed, a filename prompt will
  11022. be issued  and the  file will  be opened.  If the  Log File is already
  11023. opened, it will be closed.
  11024.  
  11025.  
  11026.  
  11027.  
  11028.  
  11029.  
  11030.  
  11031.  
  11032.  
  11033.  
  11034.  
  11035.  
  11036.  
  11037.  
  11038.  
  11039.  
  11040.  
  11041.  
  11042.  
  11043.  
  11044.  
  11045.  
  11046.  
  11047.  
  11048.  
  11049. Version 4.0                                                        175
  11050.  
  11051.  
  11052.  
  11053.  
  11054.  
  11055. Following is a sample Log File listing:
  11056.  
  11057. ╔════════════════════════════════════════════════╗
  11058.  
  11059. 02:03:06  12-11-88  Connected With  : Exec-Net     Exec-Mail-Stop
  11060. 02:03:06  12-11-88  ++ Phone Number : 1-914-667-4759
  11061. 02:03:06  12-11-88  ++ Comm Speed   : 19200-8-N-1
  11062. 02:03:06  12-11-88  Online Timer Started.
  11063. 02:04:16  12-11-88  Download File Z:\QMAIL\EXECNET.QWK
  11064. 02:04:16  12-11-88  ++ Protocol : Xmodem-1K/G
  11065. 02:06:02  12-11-88  ++ Chars Per Second    : 1018
  11066. 02:06:02  12-11-88  ++ Effective Percent   : 106.1
  11067. 02:06:09  12-11-88  Upload File Z:\QMAIL\EXECNET.REP
  11068. 02:06:09  12-11-88  ++ Protocol : Xmodem-1K/G
  11069. 02:06:16  12-11-88  ++ Chars Per Second    : 1737
  11070. 02:06:16  12-11-88  ++ Effective Percent   : 180.9
  11071. 02:06:16  12-11-88  @SHELL Del Z:\QMAIL\EXECNET.REP
  11072. 02:06:16  12-11-88  ++ @SHELL Successful
  11073. 02:06:27  12-11-88  Hangup Command entered.
  11074. 02:06:28  12-11-88  Elapsed Online 00:03:22
  11075. 12:43:13  12-11-88  @SHELL Qmodem «--» DOS Shell
  11076. 12:43:40  12-11-88  ++ @SHELL Successful
  11077.  
  11078. ╚════════════════════════════════════════════════╝
  11079.  
  11080. Some Log  entries may take up more than one line in the file.  Any log
  11081. entry which  starts with  "++" is  a continuation of the previous one.
  11082. For example,  download or  upload log  entries are  made up of several
  11083. records in order to record all meaningful statistics.
  11084.  
  11085. Following is a complete list of all possible Log entries (the time and
  11086. date stamps are not shown):
  11087.  
  11088.  
  11089. Key       Log entry
  11090. -----     ------------------------------------------
  11091. [user]    STAMP [stamp message from Fkey or Script]
  11092.  
  11093. [auto]    Online Timer Started.
  11094.  
  11095. [auto]    Elapsed Online xx:xx:xx
  11096.  
  11097. Alt-D     Connected With  : [Board Name]
  11098.           ++ Phone Number : [Board Number]
  11099.           ++ COM Speed    : [Speed-Parity-Dbits-Sbits]
  11100.  
  11101. Alt-H     Hangup Command entered.
  11102.  
  11103. Alt-K     COM Port [PortNumber] selected.
  11104.  
  11105.  
  11106.  
  11107. 176                                           Qmodem Operations Manual
  11108.  
  11109.  
  11110.  
  11111.  
  11112.  
  11113. Alt-J     New KEY file [KeyFileName].
  11114.  
  11115. Alt-L     Default Drive now [DriveLetter]:
  11116.  
  11117. Alt-O     Directory changed to [DirectoryPath]
  11118.  
  11119. Alt-R     Dropping to DOS.
  11120.           ++ Drop to DOS Failed.
  11121.  
  11122. Alt-X     Exiting QMODEM.
  11123.  
  11124. Alt-Y     File [Filename] DELETED.
  11125.  
  11126. PgDn      Download File [Filename]
  11127.           ++ Protocol : ASCII
  11128.           ++ Protocol : Xmodem
  11129.           ++ Protocol : Xmodem CRC
  11130.           ++ Protocol : Xmodem Relaxed
  11131.           ++ Protocol : Xmodem-1K
  11132.           ++ Protocol : Xmodem-1K/G
  11133.           ++ Protocol : Ymodem
  11134.           ++ Protocol : Ymodem/G
  11135.           ++ Long block errors   : [Number]
  11136.           ++ Short block errors  : [Number]
  11137.           ++ SOH errors          : [Number]
  11138.           ++ Complement errors   : [Number]
  11139.           ++ Block number errors : [Number]
  11140.           ++ Time Out errors     : [Number]
  11141.           ++ Resend Block errors : [Number]
  11142.           ++ Checksum errors     : [Number]
  11143.           ++ Chars Per Second    : [Number]
  11144.           ++ Effective Percent   : [Number]
  11145.           ++ Download Aborted.
  11146.           Download Executing [BatchFileName].
  11147.           ++ External Batch Failure.
  11148.  
  11149. PgUp      Upload File [Filename]
  11150.           ++ Chars Per Second    : [number]
  11151.           ++ Effective Percent   : [number]
  11152.           ++ Upload Aborted.
  11153.           ++ Using Ymodem-G protocol.
  11154.           ++ Using Xmodem CRC protocol.
  11155.           ++ Using Xmodem protocol.
  11156.           ++ Using Ymodem protocol.
  11157.           ++ Using ASCII protocol.
  11158.           ++ Transfer Successful.
  11159.           External Upload Batch [BatchFileName]
  11160.           ++ External Batch Failure.
  11161.  
  11162.  
  11163.  
  11164.  
  11165. Version 4.0                                                        177
  11166.  
  11167.  
  11168.  
  11169.  
  11170.  
  11171. ^End      BREAK signal sent.
  11172.  
  11173.  
  11174. Entries starting  with "[user]"  vary depending  on the  STAMP command
  11175. used in  FKeys and  Script commands.   Both  will begin  with the word
  11176. "STAMP" followed by user-supplied text.
  11177.  
  11178. Entries starting  with "[auto]"  are recorded  whenever Qmodem changes
  11179. from offline to online status and vice versa.
  11180.  
  11181. Remaining entries  are related  to the  command  listed  in  the  left
  11182. column.
  11183.  
  11184. Since Logging  can be  turned on  automatically, you  can now  keep  a
  11185. perfect record  of all your long distance calls.  Many other important
  11186. functions of  operation can  also be  tracked  with  the  Session  Log
  11187. feature.
  11188.  
  11189.  
  11190.  
  11191. Alt-5  HOST MODE.
  11192. ______________________________________________________________________
  11193. Qmodem 4.0 Host Mode features the following:
  11194.  
  11195.   o  Open, Closed, and Callback operation to implement as little or as
  11196.      much security as needed.
  11197.   
  11198.   o  Support of  all internal  and external  file  transfer  protocols
  11199.      (except ASCII) for both uploads and downloads.
  11200.   
  11201.   o  User-customizable menus.   Default  menus are provided and can be
  11202.      modified or replaced altogether to meet users' requirements.
  11203.   
  11204.   o  Full-featured messaging  system:  Enter/Read/Reply/Kill messages,
  11205.      and Private messaging facility.
  11206.   
  11207.   o  Shell to DOS from remote, with optional password protection.
  11208.   
  11209.   o  Shutdown from remote, also with optional password protection.
  11210.   
  11211.   o  Ability to  call Scripts from the Host.  New Host features can be
  11212.      implemented via standard Qmodem scripts.
  11213.   
  11214.   o  Sysop CHAT  mode which allows callers to converse with the SYStem
  11215.      OPerator while online..
  11216.   
  11217.   o  Online listing of the HOST download file directory.
  11218.   
  11219.  
  11220.  
  11221.  
  11222.  
  11223. 178                                           Qmodem Operations Manual
  11224.  
  11225.  
  11226.  
  11227.  
  11228.  
  11229. Host Setup
  11230. ______________________________________________________________________
  11231. Before it can be used, the Qmodem Host Mode must be configured via the
  11232. Alt-N/H Host Setup.
  11233.  
  11234.  
  11235. External Files Required
  11236. ______________________________________________________________________
  11237. The Password  File, QMHOST.PWD,  is the only file required to run Host
  11238. Mode.   QMHOST.PWD contains  users' Names, Passwords, Security Levels,
  11239. and optional CallBack phone numbers.  If QMHOST.PWD does not exist, it
  11240. will be created automatically the first time Host Mode is started.
  11241.  
  11242. The file  "QMHOST.PWD" is  a CR/LF-delimited  ASCII file.   It  can be
  11243. edited with  the Qmodem  Internal Editor  or any  standard text editor
  11244. (IE.  QEDIT,   Norton  Editor,  or  word  processors  which  can  edit
  11245. unformatted ASCII files).
  11246.  
  11247. The QMHOST.PWD file layout is as follows:
  11248.  
  11249.    Firstname  Lastname  Password  Security-Level  Callback-#  ;Comments
  11250.  
  11251. Each field  is separated  by one  or more spaces, and comments must be
  11252. preceded by  a semicolon.  The Callback Number is required only if you
  11253. have selected  the CALLBACK  system type.  Information in the Password
  11254. File is  case-insensitive("JANE", "Jane",  and "jane"  are interpreted
  11255. identically).
  11256.  
  11257. Following is a sample QMHOST.PWD file:
  11258.  
  11259. ╔════════════════════════════════════════════════╗
  11260.  
  11261. John   Friel    Password  1  1-319-233-6157  ; Moi
  11262. Joe    Blow     Qmodem    0                  ; another example
  11263. Jane   Doe      Smegma    0  555-1212        ; yet another
  11264.  
  11265. ╚════════════════════════════════════════════════╝
  11266.  
  11267. Records may  be in any order (the SYSOP record need not be first).  In
  11268. the example  above, the  first and last entries have a CALLBACK number
  11269. and will work in a CALLBACK system, while the second entry will not.
  11270.  
  11271. Security Levels  may be  "1" or  "0".  Level 1 users may shut down the
  11272. system from  remote (as  long as  they  know  the  password).    Other
  11273. security levels are unassigned and are reserved for future use.
  11274.  
  11275.  
  11276.  
  11277.  
  11278.  
  11279.  
  11280.  
  11281. Version 4.0                                                        179
  11282.  
  11283.  
  11284.  
  11285.  
  11286.  
  11287. Files created by the Host
  11288. ______________________________________________________________________
  11289. Two files are created by the Host the first time it is invoked:
  11290.  
  11291.      QMHOST.HDR     The Message Header file.
  11292.  
  11293.      QMHOST.MSG     The Message Text File.
  11294.  
  11295.  
  11296. These two  files may  not be  edited or  modified in any way.  If they
  11297. are, unpredictable  results will  occur while  messaging.  The message
  11298. base can  be packed  (killed messages  are  deleted)  by  running  the
  11299. QMHOSTPK.EXE program  supplied on  the Utilities  disk.  (Refer to the
  11300. Message Section for more information on QMHOSTPK.EXE)
  11301.  
  11302.  
  11303. Optional Files
  11304. ______________________________________________________________________
  11305. Host Menu  files can  be customized to meet your needs.  The following
  11306. default menu files are supplied with Qmodem 4.0:
  11307.  
  11308.      PRELOG.HST     The opening screen sent to all callers
  11309.  
  11310.      MENU.HST       The Host Main Menu
  11311.  
  11312.      PROTS.HST      The protocol list for Up/Download commands
  11313.      
  11314.      LOGOFF.HST     The logoff screen sent to all callers
  11315.  
  11316.  
  11317. Menu Files  are all  standard ASCII  files and  can be edited with the
  11318. Internal Editor.
  11319.  
  11320.    NOTE:  Host Mode  supports ANSI  color/graphic menus,  but these
  11321.           cannot be  selectively disabled.   If you use ANSI menus,
  11322.           all callers  must have ANSI emulation active to correctly
  11323.           view the screens.
  11324.  
  11325. Included on  the Utilities  Disk, are  sample menu  files for  you  to
  11326. experiment with.   These files all end with the extension .HST .
  11327.  
  11328.  
  11329.  
  11330.  
  11331.  
  11332.  
  11333.  
  11334.  
  11335.  
  11336.  
  11337.  
  11338.  
  11339. 180                                           Qmodem Operations Manual
  11340.  
  11341.  
  11342.  
  11343.  
  11344.  
  11345. Following is a sample MENU.HST file:
  11346.  
  11347. ╔════════════════════════════════════════════════╗
  11348.  
  11349.                               QMODEM HOST MODE
  11350.           ─────▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄   ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄──────
  11351.        ────────█  File Directory   █   █  Enter a Message  █────────
  11352.      ──────────█  Upload a File    █   █  Read a Message   █──────────
  11353.      ──────────█  Download a File  █   █  Page the Sysop   █──────────
  11354.        ────────█  Shell to DOS     █   █  Open a Script    █────────
  11355.           ─────▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀   ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀─────
  11356.                                 ▄▄▄▄▄▄▄▄▄▄▄
  11357.                                 █ Goodbye █
  11358.                                 ▀▀▀▀▀▀▀▀▀▀▀
  11359.  
  11360. ╚════════════════════════════════════════════════╝
  11361.  
  11362.  
  11363. Logging on Locally
  11364. ______________________________________________________________________
  11365. While Host Mode is active, you may press [F1] to log on locally.  This
  11366. feature can  be used  to test  menu and  Script  operation.  All  Host
  11367. commands, except "P", "U" & "D" are available locally.
  11368.  
  11369. To exit Host Mode, press [ESC] while the system is waiting for a call.
  11370. You will  be  returned  to  TERMINAL  mode  and  the  standard  Qmodem
  11371. Initialization string (Alt-N/M/C/I) will be sent to the modem.
  11372.  
  11373.  
  11374. Starting the Host while ONLINE
  11375. ______________________________________________________________________
  11376. The HOST  can be  invoked while  you are online.  The other person you
  11377. are connected to will be prompted for logon information as if the host
  11378. had answered the incoming call itself.
  11379.  
  11380.    CAUTION:  If the  caller is  unsuccessful in his logon, the host
  11381.              will drop  the connection  and cycle.    There  is  no
  11382.              method to  return to  normal terminal without dropping
  11383.              the connection once the host is started.
  11384.  
  11385.  
  11386. Sysop Commands while the Host is active
  11387. ______________________________________________________________________
  11388. Host mode  assumes that  only the SYSOP can logon locally; no password
  11389. prompt is  issued.   SYSOP privileges  are the same for both local and
  11390. remote logons.
  11391.  
  11392.  
  11393.  
  11394.  
  11395.  
  11396.  
  11397. Version 4.0                                                        181
  11398.  
  11399.  
  11400.  
  11401.  
  11402.  
  11403. When a  caller is  online, the  SYSOP may  break  into  chat  mode  by
  11404. pressing [F2],  Dropping to DOS locally by pressing [F5] or disconnect
  11405. the caller  by pressing  [F10].   At all  times, Host Mode will accept
  11406. input from the remote caller as well as from the local keyboard.   The
  11407. SYSOP, for  example, may  come to  the rescue  of a  caller by  typing
  11408. commands directly.   These will be processed as if they had been typed
  11409. by the remote caller.
  11410.  
  11411. Uploads and  Downloads may  be cancelled by pressing [ESC] key.  It is
  11412. not considered  nice to cancel a download on the 244th block of a 245-
  11413. block file.
  11414.  
  11415.  
  11416. Host Functions
  11417. ______________________________________________________________________
  11418. Host Mode features the following sub-systems:
  11419.  
  11420.   1. File      Listing, Uploading & Downloading.
  11421.   
  11422.   2. Message   Entry, Read, Kill.
  11423.   
  11424.   3. Chat      SYSOP-to-caller interaction.
  11425.   
  11426.   4. Script    User-created Host extension(s).
  11427.   
  11428.   5. DOS       Access to DOS from Remote.
  11429.  
  11430.  
  11431.  
  11432.  
  11433.  
  11434.  
  11435.  
  11436.  
  11437.  
  11438.  
  11439.  
  11440.  
  11441.  
  11442.  
  11443.  
  11444.  
  11445.  
  11446.  
  11447.  
  11448.  
  11449.  
  11450.  
  11451.  
  11452.  
  11453.  
  11454.  
  11455. 182                                           Qmodem Operations Manual
  11456.  
  11457.  
  11458.  
  11459.  
  11460.  
  11461. F  File List
  11462. ______________________________________________________________________
  11463. The "F" command lists the contents of the Host Download Directory:
  11464.  
  11465. ╔════════════════════════════════════════════════╗
  11466.  
  11467. (60 min. left)
  11468. Command : U,D,F,R,E,G,O,P,S > F
  11469.  
  11470. --- FILE LIST ---
  11471. TESTFILE       24576  14:05  12-12-88
  11472. CINKEY.ASM      2048  14:06  12-12-88
  11473. COMM.ASM        3072  14:06  12-12-88
  11474. COMMIO.ASM      6144  14:06  12-12-88
  11475. COMP-CRC.ASM    3072  14:06  12-12-88
  11476. CRC.ASM         1024  14:06  12-12-88
  11477. DESQVIEW.ASM    2048  14:06  12-12-88
  11478. GETCPU.ASM      1024  14:06  12-12-88
  11479. GIVEBK31.ASM    5120  14:06  12-12-88
  11480. INT1C.ASM       3072  14:07  12-12-88
  11481. KBDINT.ASM      5120  14:07  12-12-88
  11482. ------ END ------
  11483.  
  11484. Press any key to continue...
  11485.  
  11486. ╚════════════════════════════════════════════════╝
  11487.  
  11488.  
  11489. U  Upload
  11490. ______________________________________________________________________
  11491. When the  Upload command  is selected,  the Host  first looks  for the
  11492. alternate protocol  menu file  PROTS.HST.   If  it  is  found,  it  is
  11493. displayed.  If not, the list of default protocols is displayed:
  11494.  
  11495. ╔════════════════════════════════════════════════╗
  11496.  
  11497. Protocols available
  11498. -------------------
  11499. X - Xmodem
  11500. C - Xmodem CRC
  11501. O - Xmodem-1K
  11502. Y - Ymodem (batch)
  11503. F - Xmodem-1K/G
  11504. G - Ymodem/G (batch)
  11505.  
  11506. Enter Protocol (Blank to Abort) > _
  11507.  
  11508. ╚════════════════════════════════════════════════╝
  11509.  
  11510.  
  11511.  
  11512.  
  11513. Version 4.0                                                        183
  11514.  
  11515.  
  11516.  
  11517.  
  11518.  
  11519.    NOTE:  The last  two protocols  (/G)are available  only  if  CTS
  11520.           checking  is   selected  (Alt-N/O/T/C)   and  your  modem
  11521.           supports hardware handshaking.
  11522.  
  11523. The caller  can then  select the  desired protocol.  A filename prompt
  11524. will be  displayed next  for non-batch  file  transfer.    During  the
  11525. transfer, the standard Qmodem Download window will be displayed.
  11526.  
  11527.    NOTE:  The meanings  of Uploads and Downloads are reversed while
  11528.           in Host  Mode -- an Upload by the caller is a Download to
  11529.           the Host, and vice-versa --.
  11530.  
  11531.  
  11532. D  Download
  11533. ______________________________________________________________________
  11534. Download procedures are the same as uploads.  Prior to a download, the
  11535. Host verifies  the existence of the file to be sent.  If the file does
  11536. not exist, the Download is cancelled.
  11537.  
  11538.    NOTE:  If the filename contains wildcards (* or ?), at least one
  11539.           file must match the file specification or the Download is
  11540.           cancelled.
  11541.  
  11542.  
  11543.  
  11544. R  Reading Messages
  11545. ______________________________________________________________________
  11546. The "R"  Read command  is used to read messages.  Unlike sophisticated
  11547. Online Services  or Bulletin  Board Systems, the Qmodem Host mode does
  11548. not keep  track of  each caller  "Last Message  Read".   It is  up  to
  11549. callers to remember the number of the last message they read.
  11550.  
  11551. If the caller presses [ENTER] at the "Start with Msg" prompt, the READ
  11552. command is cancelled and the Main Menu is displayed.
  11553.  
  11554. If the  number entered is lower than the number of the first available
  11555. message,  reading   will  start  with  the  first  available  message.
  11556. Likewise, if  the number  entered is  higher than  the highest message
  11557. number, only the last valid message will be read.
  11558.  
  11559.  
  11560.  
  11561.  
  11562.  
  11563.  
  11564.  
  11565.  
  11566.  
  11567.  
  11568.  
  11569.  
  11570.  
  11571. 184                                           Qmodem Operations Manual
  11572.  
  11573.  
  11574.  
  11575.  
  11576.  
  11577. Following is a sample message-reading session:
  11578.  
  11579. ╔════════════════════════════════════════════════╗
  11580.  
  11581. (60 min. left)
  11582. Command : U,D,F,R,E,G,O,P,S > R
  11583.  
  11584. Messages from 1 to 2
  11585. Start with Msg # ? 1
  11586.  
  11587.  
  11588. Msg# : 1
  11589. To   : SYSOP (public)
  11590. From : JOHN FRIEL
  11591. Subj.: testing 1,2,3...
  11592. D&T  : 12/12/88 14:03:42
  11593. ----------------------
  11594. this is a test message.
  11595. testing
  11596.  
  11597. (R)eply, (K)ill, (Q)uit, [ENTER] next msg > _
  11598.  
  11599. ╚════════════════════════════════════════════════╝
  11600.  
  11601. Message headers  contain Message Number, To, From, Subject, and Date &
  11602. Time information.   Message  marked (private)  or (killed) can only be
  11603. viewed by callers with SYSOP Security.
  11604.  
  11605. After reading  a message,  the caller  is  prompted  for  one  of  the
  11606. following actions:
  11607.  
  11608.   1. (R)eply to the message just read.
  11609.   
  11610.   2. (K)ill    the message.   A  message  can  be  killed  if  it  was
  11611.      addressed to the caller or the caller has SYSOP privileges.
  11612.   
  11613.   3. (Q)uit and return to the Main Menu.
  11614.   
  11615.   4. [ENTER] to read the next message.
  11616.   
  11617.  
  11618. E  Entering a Message
  11619. ______________________________________________________________________
  11620. The "E"  command is  used to enter  a new message.  The caller will be
  11621. prompted for the name of the recipient, an appropriate subject for the
  11622. message, and the security status of the message (private or public).
  11623.  
  11624. The actual  message is then entered.  Messages may have up to 20 lines
  11625. of 72  characters each.   As  text reaches  the end  of the  line,  it
  11626. automatically wraps to the next line.
  11627.  
  11628.  
  11629. Version 4.0                                                        185
  11630.  
  11631.  
  11632.  
  11633.  
  11634.  
  11635. Following is a sample message entry session:
  11636.  
  11637. ╔════════════════════════════════════════════════╗
  11638.  
  11639. (120 min. left)
  11640. Command : U,D,F,R,E,G,O,P,S > E
  11641.  
  11642. To: somebody else
  11643. Subject: this is the subject
  11644. Private (y/n) ? N
  11645.  
  11646. Enter your message.  72 chars per line, 20 lines max.  Autowrap
  11647. Blank line ends message.
  11648. ---------------------------------------------------------------------------
  11649. this is the message
  11650. bye
  11651.  
  11652. (C)ontinue, (S)ave or (A)bort > _
  11653.  
  11654. ╚════════════════════════════════════════════════╝
  11655.  
  11656. At the  end of  the message,  the  caller  presses  [ENTER]  twice  to
  11657. terminate message  entry.  The Host will then display the "(C)ontinue,
  11658. (S)ave or (A)bort >" prompt.
  11659.  
  11660.   (C)     Continue with  message entry  - The  last line  with text is
  11661.      displayed with the cursor following the last non-blank character.
  11662.      Use this option if you exited the message and wish to add to it.
  11663.   
  11664.   (S)     Save the  Message.   The message  is saved  and the  user is
  11665.      returned to  the Main  Menu.   If the  message was  entered as  a
  11666.      reply, the next message, if any, will be displayed.
  11667.   
  11668.   (A)     Abort the  Message.   The message is deleted and the user is
  11669.      returned to  the Main  Menu.   If the  message was  entered as  a
  11670.      reply, then the next message, if any, will be displayed.
  11671.  
  11672. The end-of-message  prompt will  also be issued automatically when the
  11673. messages reaches the 20-line maximum.
  11674.  
  11675.  
  11676. Packing the Message Base
  11677. ______________________________________________________________________
  11678. There is  a program called QMHOSTPK.EXE included on the Utilities Disk
  11679. that will  pack the  Message base.   The  term PACK refers to removing
  11680. 'killed' messages.
  11681.  
  11682. You execute QMHOSTPK from the DOS prompt.  It assumes the message base
  11683. files QMHOST.MSG and QMHOST.HDR are in the current directory.
  11684.  
  11685.  
  11686.  
  11687. 186                                           Qmodem Operations Manual
  11688.  
  11689.  
  11690.  
  11691.  
  11692.  
  11693.    CAUTION:  Should the  message base  become corrupted,  the files
  11694.              QMHOST.HDR and  QMHOST.MSG files should be deleted and
  11695.              let the host re-create them.
  11696.  
  11697.  
  11698. F2  CHAT mode
  11699. ______________________________________________________________________
  11700. Pressing [F2]  initiates an  online chat  between the  caller and  the
  11701. sysop:
  11702.  
  11703. ╔════════════════════════════════════════════════╗
  11704.  
  11705. (103 min. left)
  11706. Command : U,D,F,R,E,G,O,P,S >
  11707.  
  11708. You are now Chatting with the Sysop
  11709.  
  11710. _
  11711.  
  11712. ╚════════════════════════════════════════════════╝
  11713.  
  11714. Both caller  and sysop may type at will; the display will be identical
  11715. on both computers.  End-of-Line wordwrap is also active in CHAT mode.
  11716.  
  11717. To exit  CHAT mode,  the SYSOP  must press  [F2] again.   The  message
  11718. "Returning you  to Host Mode" will be displayed and the caller will be
  11719. returned to the Main Menu.
  11720.  
  11721.  
  11722.  
  11723. O  Open Script
  11724. ______________________________________________________________________
  11725. The Open  Script command  allows Qmodem script execution while in Host
  11726. Mode; it  is the  Host equivalent  of the Alt-F command.  When the "O"
  11727. command is selected, the QMHOST.SCR script is executed.
  11728.  
  11729.    NOTE:  When logging  on locally  with the  [F1] command, the "O"
  11730.           command invokes  the QMHOSTL.SCR  script rather  than the
  11731.           QMHOST.SCR script.   This  allows you  to test the script
  11732.           offline.   Since QMHOSTL.SCR  script  is  executed  while
  11733.           offline, it should not test for an online condition.
  11734.  
  11735.  
  11736.  
  11737.  
  11738.  
  11739.  
  11740.  
  11741.  
  11742.  
  11743.  
  11744.  
  11745. Version 4.0                                                        187
  11746.  
  11747.  
  11748.  
  11749.  
  11750.  
  11751. If the  Host script is found, it begins executing immediately.  If the
  11752. Script is not found, the following message is displayed:
  11753.  
  11754. ╔════════════════════════════════════════════════╗
  11755.  
  11756. Sorry, that function is not available.
  11757.  
  11758. ╚════════════════════════════════════════════════╝
  11759.  
  11760.  
  11761. Following is a sample QMHOST.SCR:
  11762.  
  11763. ╔════════════════════════════════════════════════╗
  11764.  
  11765. FirstNamePrompt:
  11766. DISPLAY "Enter your First Name > "  ; ask for a first name
  11767.  
  11768. GETR 0 20                           ; put it in $0
  11769.  
  11770. IF $Offline Exit1                   ; if we are offline, then exit
  11771. IF "$0" <> "" LastNamePrompt        ; If so, go to the next prompt.
  11772.  
  11773. DISPLAYLN "Hey, I want your Last name!  Try again...^M^J"
  11774. GOTO FirstNamePrompt
  11775.  
  11776. LastNamePrompt:
  11777. DISPLAY "Enter your Last name  > "  ; ask for a last name
  11778.  
  11779. GETR 1 20                           ; put it in $1
  11780.  
  11781. IF $Offline Exit1                   ; are we offline? if so, exit
  11782. IF "$1" <> "" NextStep              ; if a name was entered, go to next label
  11783.  
  11784. DISPLAYLN "Hey, I want your Last name!  Try again...^M^J"
  11785. GOTO LastNamePrompt
  11786.  
  11787. NextStep:                           ; continue here
  11788. DISPLAYLN " "
  11789. DISPLAYLN "Thank you, $0"
  11790. DISPLAYLN "You will now be returned to the Host...
  11791. DISPLAYLN " "
  11792. DISPLAYLN "Please wait $0 $1"
  11793.  
  11794. Exit1:
  11795. EXIT                                ; exit back to the Host
  11796.  
  11797. ╚════════════════════════════════════════════════╝
  11798.  
  11799.  
  11800.  
  11801.  
  11802.  
  11803. 188                                           Qmodem Operations Manual
  11804.  
  11805.  
  11806.  
  11807.  
  11808.  
  11809.    NOTE:  The QMHOSTL.SCR  version of  the script would be modified
  11810.           as follows:
  11811.  
  11812.  
  11813. ╔════════════════════════════════════════════════╗
  11814.  
  11815. FirstNamePrompt:
  11816. DISPLAY "Enter your First Name > "  ; ask for a first name
  11817.  
  11818. GET 0 20                            ; put it in $0
  11819.  
  11820. IF "$0" <> "" LastNamePrompt        ; If so, go to the next prompt.
  11821.  
  11822. DISPLAYLN "Hey, I want your Last name!  Try again...^M^J"
  11823. GOTO FirstNamePrompt
  11824.  
  11825. LastNamePrompt:
  11826. DISPLAY "Enter your Last name  > "  ; ask for a last name
  11827.  
  11828. GET 1 20                            ; put it in $1
  11829.  
  11830. IF "$1" <> "" NextStep              ; if a name was entered, go to next label
  11831.  
  11832. DISPLAYLN "Hey, I want your Last name!  Try again...^M^J"
  11833. GOTO LastNamePrompt
  11834.  
  11835. NextStep:                           ; continue here
  11836. DISPLAYLN " "
  11837. DISPLAYLN "Thank you, $0"
  11838. DISPLAYLN "You will now be returned to the Host...
  11839. DISPLAYLN " "
  11840. DISPLAYLN "Please wait $0 $1"
  11841.  
  11842. EXIT                                ; exit back to the Host
  11843.  
  11844. ╚════════════════════════════════════════════════╝
  11845.  
  11846.    NOTE:  The GETR  command was  changed to  GET, and  the $OFFLINE
  11847.           tests were removed completely.
  11848.  
  11849.    TIP:  The callers  First and  Last name  is passed to the script
  11850.          variables $0 and $1 respectively.  For more information on
  11851.          Qmodem Scripts, refer to the Script Language section later
  11852.          in this manual.
  11853.  
  11854.  
  11855.  
  11856.  
  11857.  
  11858.  
  11859.  
  11860.  
  11861. Version 4.0                                                        189
  11862.  
  11863.  
  11864.  
  11865.  
  11866.  
  11867. S  Shell to DOS
  11868. ______________________________________________________________________
  11869. The "S"  Shell to  DOS command  allows access  to the DOS prompt while
  11870. Host Mode is active.  This command is the Host equivalent of the Alt-R
  11871. command, and similar rules and restrictions apply.  There is, however,
  11872. one major  difference between  the local  DOS Shell available with the
  11873. Alt-R command, and the Host Shell.  In the case of a remote logon, DOS
  11874. must receive  its input  from the  serial port,  rather than  from the
  11875. keyboard.
  11876.  
  11877. If there is a user online, the Host Shell invokes the QMHOST.BAT batch
  11878. file.   If it  is a  local Sysop logon, then the Shell operates in the
  11879. same manner as the Alt-R command.
  11880.  
  11881. Included on  the Utilities  Disk is  a program  called QMHOST.EXE that
  11882. handles the  required DOS-to-Serial  Port protocol.   This program and
  11883. the Host  Shell batch  file QHOST.BAT  are included  on the  Utilities
  11884. Disk.
  11885.  
  11886. QMHOST.EXE allows  you to  run any  program that  uses the  STDIN  and
  11887. STDOUT DOS  calls to  display information  on the screen and read from
  11888. the keyboard.   If  you try  to run  a program that writes directly to
  11889. video memory, the caller will not see the information displayed by the
  11890. program.
  11891.  
  11892. The ANSI.SYS  device driver  is required to run the QHOST.EXE program.
  11893. Make sure  this is  included in  your  CONFIG.SYS  file.    Also,  the
  11894. Utilities Disk  contains a program called ANSIPAT.EXE which will patch
  11895. the ANSI.SYS driver for proper operation.
  11896.  
  11897. The purpose  of ANSIPAT.EXE  is to patch your ANSI.SYS so that it will
  11898. do a  BIOS call  instead of  a direct  screen write,  making  it  more
  11899. compatible with  QHOST.   You will  need to  run this  program in  the
  11900. subdirectory that  your ANSI.SYS  resides in.   It  will copy ANSI.SYS
  11901. over to  ANSI.BAK then  search the ANSI.SYS for the code which scrolls
  11902. the screen.   If  it finds the erroneous code, it will replace it with
  11903. the appropriate  screen scroll  BIOS call.   If  it doesn't  find  the
  11904. appropriate code, ANSI.SYS will remain unchanged.
  11905.  
  11906.    NOTE:  You will have to reboot the computer for the new ANSI.SYS
  11907.           to take effect.
  11908.  
  11909. QMHOST always  watches the Carrier Detect signal from the modem.  If a
  11910. loss of  carrier is  detected, QMHOST immediately returns to the Host.
  11911. To return normally, the caller types "EXIT" from the DOS prompt.
  11912.  
  11913.  
  11914.  
  11915.  
  11916.  
  11917.  
  11918.  
  11919. 190                                           Qmodem Operations Manual
  11920.  
  11921.  
  11922.  
  11923.  
  11924.  
  11925.             
  11926.  
  11927.  
  11928.  
  11929.  
  11930.  
  11931. The Qmodem Script Language: an Introduction
  11932.                                                                       
  11933. What is a script?
  11934. ______________________________________________________________________
  11935. A script  is a  Qmodem program,  designed to  perform specific  and/or
  11936. repetitive functions  much faster  and more  reliably than with manual
  11937. methods.   Scripts can  be used  to do just about anything that can be
  11938. done at the keyboard; your imagination is the only limit.  Common uses
  11939. for scripts include:
  11940.  
  11941.      o    Automated logon
  11942.      o    File transfers
  11943.      o    Completely automated sessions
  11944.      o    Unattended Qmodem operations
  11945.  
  11946. The Qmodem  QuickLearn Script  Recorder  is  an  extremely  convenient
  11947. facility, but  it has its limitations.  Basically, QuickLearn can only
  11948. record your  interactions with  a remote  computer and  replicate them
  11949. exactly.   It cannot  add decision-making  logic  to  the  scripts  it
  11950. creates, or  account for  unexpected or changing conditions.  When you
  11951. run out  of QuickLearn  power, time has come to write or edit your own
  11952. scripts.
  11953.  
  11954. Scripts are  similar to  interpreted BASIC  programs.   The syntax  is
  11955. somewhat different,  but the  principles are  almost identical.    The
  11956. Qmodem Script  Interpreter (also  referred to  as the  Script  Parser)
  11957. reads the  script's code  and executes  the instructions  as it  reads
  11958. them.
  11959.  
  11960. Scripts can  be very  simple or  extremely involved.    Logon  scripts
  11961. created by QuickLearn are simple.  Some large and complex scripts have
  11962. also been  written to  turn Qmodem  into a mini-Bulletin Board System.
  11963. With the  advent of  BBS Networks such as InterLink, scripts have been
  11964. written to  automatically dial  a BBS,  log on,  open a  mail transfer
  11965. door, download a mail packet, and log off.  Many useful Qmodem scripts
  11966. are included  on the Qmodem Utilities disk.  Many other scripts can be
  11967. found on  bulletin boards,  including  the  Forbin  Project,  Home  of
  11968. Qmodem.
  11969.  
  11970. You need  not be  a programmer to write scripts, but if you aren't, we
  11971. recommend that  you start  at the  beginning until  you  have  a  good
  11972. understanding of  script concepts,  syntax rules,  and  common  script
  11973. commands.
  11974.  
  11975. As with  all programming  languages, The  Qmodem script language has a
  11976. few idiosyncracies.  Here are some of the most obvious.
  11977.  
  11978.  
  11979.  
  11980.  
  11981.  
  11982.  
  11983. Version 4.0                                                        191
  11984.  
  11985.  
  11986.  
  11987.  
  11988.  
  11989. Physical vs. Logical Screen
  11990. ______________________________________________________________________
  11991. The physical screen is the entire screen, which usually consists of 80
  11992. columns and 25 lines (or more if you have an EGA or VGA and use one of
  11993. the extended display modes).
  11994.  
  11995. Smaller, logical  screens can be defined with the script BOX or WINDOW
  11996. commands.   All screen  output commands  except ATWRITE are limited to
  11997. the logical  screen boundaries  defined in  the  last  BOX  or  WINDOW
  11998. commands.
  11999.  
  12000.  
  12001. Input and Output Commands
  12002. ______________________________________________________________________
  12003. The script  language has  a wealth  of input and output commands, each
  12004. with a  specific  purpose.    For  example,  there  are  six  commands
  12005. available to  read input from the keyboard and/or COM port (GET, GETN,
  12006. GETR, GETNR, GETX, and INKEY), and seven commands available to display
  12007. data on  the screen  and/or send  it to  the COM  port (ATWRITE, SEND,
  12008. DISPLAY, DISPLAYLN,  NOTE, WRITE, and WRITELN).  In addition, the WHEN
  12009. command can  also be  used to  send data to the COM port when specific
  12010. COM input is received.
  12011.  
  12012.  
  12013. Variable Handling
  12014. ______________________________________________________________________
  12015. Variables used  in scripts  do not have explicitly declared types such
  12016. as INTEGER or STRING.  The string "100", for example, could be used as
  12017. a  numeric  variable  as  well  as  a  text  variable.    It  is  your
  12018. responsibility to  insure that  the variable contents are numeric when
  12019. they need to be.
  12020.  
  12021. When a  variable name  is prefixed  with a  dollar  sign,  the  Script
  12022. Interpreter will  automatically substitute  its value  in the command.
  12023. When a  value is assigned to a string, the dollar sign is omitted.  It
  12024. is important to understand this concept to put it to good use.
  12025.  
  12026. Regardless of  their  contents,  script  variables  cannot  exceed  64
  12027. characters.
  12028.  
  12029. Script variables  are stored  in an  area of memory reserved for their
  12030. use.  This memory is allocated in the Alt-N/M/S Setup menu.
  12031.  
  12032.  
  12033.  
  12034.  
  12035.  
  12036.  
  12037.  
  12038.  
  12039.  
  12040.  
  12041. 192                                           Scripts Operation Manual
  12042.  
  12043.  
  12044.  
  12045.  
  12046.  
  12047. Running Scripts
  12048. ______________________________________________________________________
  12049. Scripts may  be invoked  explicitly with  the Alt-F command.  They may
  12050. also be  run automatically  by specifying  a script name on the Qmodem
  12051. command line,  or if  the script  name is defined in a directory entry
  12052. (Linked Scripts),  in which  cse the  script will start executing when
  12053. the connection is made.
  12054.  
  12055.  
  12056. Script Commands
  12057. ______________________________________________________________________
  12058. The Qmodem script language is very comprehensive.  Almost all terminal
  12059. mode manual commands are available as script commands (and then some).
  12060. Since equivalent  script commands  perform the same functions as their
  12061. manual counterpart,  we also  recommend that  you familiarize yourself
  12062. with the manual commands first; its documentation more thorough and we
  12063. did not see the need to duplicate it for the script command.  Commands
  12064. that are  unique to  the script  environment are  covered  in  detail,
  12065. however.
  12066.  
  12067.  
  12068.  
  12069. Script Language
  12070. ______________________________________________________________________
  12071. The script  language is  a programming  language, and script files are
  12072. special Qmodem  programs intended  to perform  specific functions.  If
  12073. you are  not a programmer, do not let this intimidate you.  The script
  12074. language is  easy to  learn, and  scripts are easy to read and modify.
  12075. Error messages  are clear  and concise.   The  built-in  debugger  and
  12076. Qmodem Editor  will help you along as you develop your scripts, in the
  12077. unlikely event you make a mistake.
  12078.  
  12079. Scripts can  be very  flexible.   They can  be used  in many ways that
  12080. aren't described here.  Scripts fall into one of four categories:
  12081.  
  12082.   1. Linked scripts,  These scripts are physically named in entries in
  12083.      the Qmodem  Phone Directory.  When connection is made, the script
  12084.      is executed  automatically.   The same  script can  be linked  to
  12085.      multiple entries.   These scripts are often referred to as "Logon
  12086.      Scripts", because  they take  control immediately after a connect
  12087.      and usually automate boring and repetitive logon processes.
  12088.   
  12089.      Examples:
  12090.   
  12091.      There are two local Tymnet phone numbers in your phone directory.
  12092.      The script SOURCE-U.LOG can be linked to both numbers to automate
  12093.      the logon to The Source.
  12094.   
  12095.  
  12096.  
  12097.  
  12098.  
  12099. Version 4.0                                                        193
  12100.  
  12101.  
  12102.  
  12103.  
  12104.  
  12105.      A BBS  system has  three nodes  with different  phone numbers.  A
  12106.      single script like RBBS.LOG can be linked to all three numbers.
  12107.   
  12108.   
  12109.   2. Scripts started  with the Alt-F command, which require execution-
  12110.      time parameters.   Qmodem allows up to ten variable parameters to
  12111.      be passed to a script.
  12112.  
  12113.  
  12114.   3. Scripts linked  to Function  Keys.   Because they are stored in a
  12115.      Function Key  Macro, you  do not  have to re-enter the parameters
  12116.      each time you run the Script.
  12117.  
  12118.  
  12119.   4. Stand-alone Scripts,  requiring no parameters.  These scripts can
  12120.      be executed  automatically when  Qmodem is started, by specifying
  12121.      their name in a command-line parameter.
  12122.      
  12123.      Example:
  12124.   
  12125.      To execute  the script  DOFIRST.SCR when starting Qmodem, use the
  12126.      command:
  12127.           
  12128.                C>QMODEM /S=DOFIRST.SCR<cr>
  12129.   
  12130.      Once initialization  is complete,  Qmodem   will load and execute
  12131.      the script  whose name  was specified  in  the  /S=  command-line
  12132.      parameter.   This command line could be contained in a BATCH file
  12133.      to automate the process even further.
  12134.  
  12135.  
  12136.  
  12137. How to Create and Name a Script
  12138. ______________________________________________________________________
  12139. Any standard ASCII text editor or word processor can be used to create
  12140. a script  file.   You  may  save  scripts  under  any  file  name  and
  12141. extension, but using the ".SCR" file extension makes life much easier,
  12142. as we'll see later.
  12143.  
  12144. The easiest  way to  write a  script is  to let  Qmodem do it for you!
  12145. Refer to the Alt-Q (QuickLearn) command for complete details.  But, if
  12146. you insist  on doing  it yourself with your favorite Word processor or
  12147. Editor, remember these tips:
  12148.  
  12149.   1. Scripts must  be saved  as standard, CR/LF-delimited ASCII files.
  12150.      Non-ASCII files  like those  produced by WordStar's Document mode
  12151.      won't work  (for WordStar,  use N at the opening prompt to create
  12152.      scripts in the Non-Document mode).
  12153.   
  12154.   2. Each Script command must be on a separate line in the file.
  12155.   
  12156.  
  12157. 194                                           Scripts Operation Manual
  12158.  
  12159.  
  12160.  
  12161.  
  12162.  
  12163.    TIP:  We recommend  the Qmodem  Internal Editor for creating and
  12164.          editing scripts.   Refer  to  the  Alt-V  and  Alt-J/@EDIT
  12165.          commands for information on the internal editor.
  12166.  
  12167.  
  12168.  
  12169. Starting a Script
  12170. ______________________________________________________________________
  12171. There are 3 ways to start a Script:
  12172.  
  12173.   1. The command  line switch  /S= to "auto start" a script.  Refer to
  12174.      the Command Line Switches for a description.
  12175.   
  12176.   2. The explicit Alt-F command to call a script.
  12177.   
  12178.   3. Automatic execution  of  a  Linked-Script  attached  to  a  Phone
  12179.      Directory entry.   (See  Alt-D for  instructions on  attaching  a
  12180.      script to a dialing directory entry)
  12181.  
  12182.  
  12183. Stopping a Script
  12184. ______________________________________________________________________
  12185. You can  stop a  script at  any time  by pressing  the [ESC] key.  The
  12186. Qmodem status line will change to the following:
  12187.  
  12188. ╔════════════════════════════════════════════════╗
  12189.  
  12190. ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ [S] Single-step  [T] Trace  [G] Go  [A] Abort ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
  12191.  
  12192. ╚════════════════════════════════════════════════╝
  12193.  
  12194. To cancel  the  script,  press  "A".    Pressing  "G"  resumes  script
  12195. execution at  the point  where it  was interrupted.   The  "S" and "T"
  12196. commands are used to start Script Debug Mode (more on this later).
  12197.  
  12198.    NOTE:  Pressing "Y"  will  also  Abort  the  script  to  provide
  12199.           backward compatibility with previous releases of Qmodem.
  12200.  
  12201.  
  12202.  
  12203. Debugging a Script
  12204. ______________________________________________________________________
  12205. Qmodem includes  a powerful script debugger, complete with single-step
  12206. and trace/animate  features.   In addition,  if a  script  fails,  the
  12207. Qmodem Internal  Editor can  be automatically  invoked with the cursor
  12208. positioned at the exact point where the error was detected.
  12209.  
  12210.  
  12211.  
  12212.  
  12213.  
  12214.  
  12215. Version 4.0                                                        195
  12216.  
  12217.  
  12218.  
  12219.  
  12220.  
  12221. Following is  a simple  script example  to illustrate  the  debugger's
  12222. operation:
  12223.  
  12224. ;
  12225. ; Script example
  12226. ;
  12227. DISPLAYLN "this is the value of variable COUNTER : $COUNTER "
  12228. EXIT
  12229.  
  12230. The fourth  line in  the script  refers to a variable called $COUNTER.
  12231. This variable  was not  defined, and  an error will result.  Executing
  12232. the script will cause the following window to be displayed:
  12233.  
  12234. ╔════════════════════════════════════════════════╗
  12235.  
  12236.  ╒═════════════════════════════ Script Error! ═════════════════════════════╕
  12237.  │Type : Invalid Substitute VARIABLE                                       │
  12238.  │File : D:\QMODEM\SCRIPTS\TEST1.SCR                                       │
  12239.  │Row  : 4                                                                 │
  12240.  │Col  : 52                                                                │
  12241.  │Line : DISPLAYLN "this is the value of variable COUNTER : $COUNTER "     │
  12242.  │                                                                         │
  12243.  │Press any key to Edit file                                               │
  12244.  ╘═════════════════════════════════════════════════════════════════════════╛
  12245.  
  12246. ╚════════════════════════════════════════════════╝
  12247.  
  12248. The first  line describes  the error  (explained in detail in the next
  12249. section).  In this case,  we have used an invalid variable.
  12250.  
  12251. The second line shows the fully qualified script filename.
  12252.  
  12253. The third  and fourth  lines show  the Row (line) and Column number in
  12254. the script file where the error occurred.
  12255.  
  12256. The fifth line is the actual script line in which the error occurred.
  12257.  
  12258.  
  12259.  
  12260.  
  12261.  
  12262.  
  12263.  
  12264.  
  12265.  
  12266.  
  12267.  
  12268.  
  12269.  
  12270.  
  12271.  
  12272.  
  12273. 196                                           Scripts Operation Manual
  12274.  
  12275.  
  12276.  
  12277.  
  12278.  
  12279. The bottom  line displays  an edit prompt.  Assuming that we are using
  12280. the Qmodem  Internal Editor,  pressing  a  key  yields  the  following
  12281. display:
  12282.  
  12283. ╔════════════════════════════════════════════════╗
  12284.  
  12285. ╒══════════════════════════════ Full Screen Edit ══════════════════════════════╕
  12286. │      Line 4    Col 52  Insert Indent     D:TEST1.SCR                         │
  12287. │;                                                                             │
  12288. │; Script example                                                              │
  12289. │;                                                                             │
  12290. │DISPLAYLN "this is the value of variable COUNTER : $COUNTER "                 │
  12291. │EXIT                                               |                          │
  12292. │                                                   +-(cursor is located here) │
  12293. │                                                                              │
  12294. ╘══════════════════════════════════════════════════════════════════════F1 Help═╛
  12295.  
  12296. ╚════════════════════════════════════════════════╝
  12297.  
  12298. When using  the Qmodem  Internal Editor, the cursor will be positioned
  12299. under the $ in $COUNTER, which is the offending variable name.
  12300.  
  12301. Two additional error conditions yield different Script Error windows:
  12302.  
  12303. ╔════════════════════════════════════════════════╗
  12304.  
  12305. ╒═════════════════════════════ Script Error! ═════════════════════════════╕
  12306. │Type : LABEL not found                                                   │
  12307. │       TIMEOUT LABEL    = ENDOFSCRIPT                                    │
  12308. │File : D:\QMODEM\SCRIPTS\Test1.SCR                                       │
  12309. │                                                                         │
  12310. │                                                                         │
  12311. │                                                                         │
  12312. │Press any key to Edit file                                               │
  12313. ╘═════════════════════════════════════════════════════════════════════════╛
  12314.  
  12315.   - or -
  12316.  
  12317. ╒═════════════════════════════ Script Error! ═════════════════════════════╕
  12318. │Type : LABEL not found                                                   │
  12319. │       GOTO/GOSUB LABEL = ENDOFSCRIPT                                    │
  12320. │File : D:\QMODEM\SCRIPTS\Test1.SCR                                       │
  12321. │                                                                         │
  12322. │                                                                         │
  12323. │                                                                         │
  12324. │Press any key to Edit file                                               │
  12325. ╘═════════════════════════════════════════════════════════════════════════╛
  12326.  
  12327. ╚════════════════════════════════════════════════╝
  12328.  
  12329.  
  12330.  
  12331. Version 4.0                                                        197
  12332.  
  12333.  
  12334.  
  12335.  
  12336.  
  12337. In both examples, identifying labels were not found in the script.
  12338.  
  12339. So far, we have seen the automated debugger at work.  An error occurs,
  12340. and you  are immediately  notified of  it.   Qmodem also  features  an
  12341. Interactive Debugging mode, in which YOU are in control.  To start the
  12342. interactive debugger, the DEBUG ON command is used.
  12343.  
  12344. Following is an example of interactive debugging:
  12345.  
  12346. ;
  12347. ; Script example
  12348. ;
  12349.  
  12350. DEBUG ON                ; turn on the debugger
  12351.  
  12352. STRING ONE TWO THREE    ; define 3 new variables
  12353. ASSIGN ONE   "1"        ; give them numeric values
  12354. ASSIGN TWO   "2"
  12355. ASSIGN THREE "3"
  12356. DISPLAYLN " ONE = $ONE, TWO = $TWO, and THREE = $THREE"
  12357. EXIT
  12358.  
  12359. When the script is executed, the status line will change to:
  12360.  
  12361.  DEBUG << >>
  12362.  
  12363. In interactive  debug mode,  the next  script line  to be  executed is
  12364. displayed between  the <<  >> characters.   To  execute the statement,
  12365. press the  SpaceBar.   In the  example, the  first line following  the
  12366. DEBUG command is blank, and no text appears between the << >>.
  12367.  
  12368. Pressing the  SpaceBar yields  the following  series of  DEBUG  status
  12369. displays:
  12370.  
  12371. ╔══════════════════════════════════════════════════╗
  12372.  
  12373. DEBUG <<STRING ONE TWO THREE >>
  12374.  
  12375. DEBUG <<ASSIGN ONE   "1" >>
  12376.  
  12377. DEBUG <<ASSIGN TWO   "2" >>
  12378.  
  12379. DEBUG <<ASSIGN THREE "3" >>
  12380.  
  12381. DEBUG <<DISPLAYLN " ONE = $ONE, TWO = $TWO, and THREE = $THREE" >>
  12382.  
  12383. ╚══════════════════════════════════════════════════╝
  12384.  
  12385.  
  12386.  
  12387.  
  12388.  
  12389. 198                                           Scripts Operation Manual
  12390.  
  12391.  
  12392.  
  12393.  
  12394.  
  12395. A number  of useful debug commands are available while single-stepping
  12396. through a  script.   Pressing the  F1 key  displays a summary of these
  12397. commands on the status line:
  12398.  
  12399. ╔══════════════════════════════════════════════════╗
  12400.  
  12401. [SPACE] Next  [T] Trace  [G] Go  [S] Subst. Line  [O] Orig. Line  [U] Under
  12402.  
  12403. ╚══════════════════════════════════════════════════╝
  12404.  
  12405. After the  command summary line has been displayed for approximately 2
  12406. seconds, the status line  reverts back to the standard DEBUG display.
  12407.  
  12408. Interactive Debug commands include:
  12409.  
  12410.   [SPACE] Next
  12411.   
  12412.      Pressing the  SpaceBar executes  the line  displayed between  the
  12413.      << >> characters.
  12414.   
  12415.   [T] Trace
  12416.   
  12417.      Pressing "T"  starts executing  the script at the rate of 2 lines
  12418.      per second (Animate Mode).
  12419.   
  12420.   [G] Go
  12421.   
  12422.      Pressing "G" terminates interactive debug mode and resumes script
  12423.      executing with  the next  line.  The script will execute until it
  12424.      ends normally,  an error  occurs, or  another DEBUG ON command is
  12425.      found.
  12426.   
  12427.   [S] Subst. Line
  12428.   
  12429.      Pressing "S"  displays (substitutes)  the values of all variables
  12430.      in the current script  line prior to execution.
  12431.   
  12432.   [O] Orig. Line
  12433.   
  12434.      Pressing "O"  terminates variable  substitution  and  re-displays
  12435.      current line in its Original form.
  12436.   
  12437.   [U] Under
  12438.   
  12439.      Pressing "U"  temporarily suspends  display of  the Debug  status
  12440.      line when  running the  script in full-screen mode and the normal
  12441.      status line itself is disabled (Alt-N/O/T/T OFF).
  12442.  
  12443.  
  12444.  
  12445.  
  12446.  
  12447. Version 4.0                                                        199
  12448.  
  12449.  
  12450.  
  12451.  
  12452.  
  12453. Going back  to our  script example,  pressing "S" yields the following
  12454. display:
  12455.  
  12456.  
  12457. ╔══════════════════════════════════════════════════╗
  12458.  
  12459.  DEBUG <<DISPLAYLN " ONE = 1, TWO = 2, and THREE = 3" >>
  12460.  
  12461. ╚══════════════════════════════════════════════════╝
  12462.  
  12463. pressing [SpaceBar] again...
  12464.  
  12465. ╔══════════════════════════════════════════════════╗
  12466.  
  12467.  DEBUG <<EXIT >>
  12468.  
  12469. ╚══════════════════════════════════════════════════╝
  12470.  
  12471. pressing [SpaceBar] again...
  12472.  
  12473. Returns us to the normal status line following the end of the script.
  12474.  
  12475.  
  12476.  
  12477. Special Characters in Scripts
  12478. ______________________________________________________________________
  12479. In scripts,  the caret  (^) is  used as  a modifier when combined with
  12480. certain other characters:
  12481.  
  12482.  
  12483.   ^~ A caret-tilde (~) combination generates a 1/2 second delay.
  12484.   
  12485.   ^^ A double-caret sequence yields a single-caret character.
  12486.  
  12487. To insert CONTROL characters in your scripts, prefix the letter with
  12488. the  ^ (caret).
  12489.  
  12490.  
  12491.  
  12492.  
  12493.  
  12494.  
  12495.  
  12496.  
  12497.  
  12498.  
  12499.  
  12500.  
  12501.  
  12502.  
  12503.  
  12504.  
  12505. 200                                           Scripts Operation Manual
  12506.  
  12507.  
  12508.  
  12509.  
  12510.  
  12511. Following is a list of valid control (ctrl) characters and the
  12512. corresponding caret combinations:
  12513.  
  12514.      ╔ Dec Hex Ctrl ╗         ╔ Dec Hex Ctrl ╗
  12515.      ║   0  00  ^@  ║         ║  16  10  ^P  ║
  12516.      ║   1  01  ^A  ║         ║  17  11  ^Q  ║
  12517.      ║   2  02  ^B  ║         ║  18  12  ^R  ║
  12518.      ║   3  03  ^C  ║         ║  19  13  ^S  ║
  12519.      ║   4  04  ^D  ║         ║  20  14  ^T  ║
  12520.      ║   5  05  ^E  ║         ║  21  15  ^U  ║
  12521.      ║   6  06  ^F  ║         ║  22  16  ^V  ║
  12522.      ║   7  07  ^G  ║         ║  23  17  ^W  ║
  12523.      ║   8  08  ^H  ║         ║  24  18  ^X  ║
  12524.      ║   9  09  ^I  ║         ║  25  19  ^Y  ║
  12525.      ║  10  0A  ^J  ║         ║  26  1A  ^Z  ║
  12526.      ║  11  0B  ^K  ║         ║  27  1B  ^[  ║
  12527.      ║  12  0C  ^L  ║         ║  28  1C  ^\  ║
  12528.      ║  13  0D  ^M  ║         ║  29  1D  ^]  ║
  12529.      ║  14  0E  ^N  ║         ║  31  1F  ^_  ║
  12530.      ║  15  0F  ^O  ║         ╚══════════════╝
  12531.      ╚══════════════╝         
  12532.                          
  12533.    TIP:  Control characters  are case-insensitive:   ^C is the same
  12534.          as a ^c.
  12535.  
  12536.    NOTE:  To  generate  the  double-caret  ^^    character  in  the
  12537.           internal editor, first type ^P, then type ^^.  The editor
  12538.           will display  a "^" in the same colors as the header line
  12539.           rather then  normal text  colors.   This is normal and is
  12540.           used to represent an imbedded Ctrl character.
  12541.  
  12542. Comments may be added to scripts, and must be preceded by a semi-colon
  12543. (;):
  12544.  
  12545. ; A semicolon as the first character is always a comment
  12546.  
  12547. WAITFOR "Enter your password :"  ; This is a comment
  12548. SEND    "$Password^M"            ; another comment line
  12549. PASSWORD1:                       ; a comment after a label
  12550.  
  12551. Comments are not displayed during script execution.
  12552.  
  12553.    TIP:  Make it  a habit  to add comments to your scripts wherever
  12554.          and whenever   possible.  Comments are  an invaluable help
  12555.          when debugging  or making  changes to  scripts, especially
  12556.          older, long-forgotten ones.
  12557.  
  12558.  
  12559.  
  12560.  
  12561.  
  12562.  
  12563. Version 4.0                                                        201
  12564.  
  12565.  
  12566.  
  12567.  
  12568.  
  12569. Definitions and Parameters
  12570. ______________________________________________________________________
  12571. Script statements usually consist of an operation code and one or more
  12572. operands or  parameters.    Parameters  shown  in  brackets  [  ]  are
  12573. optional.  Parameters in quotes (" " or ' ') are mandatory.
  12574.  
  12575. For example:
  12576.  
  12577. DIAL  "1"
  12578. DIAL  'TSalt-Air'
  12579.  
  12580. Single- and  double-quote characters  should not  be mixed  except  in
  12581. special cases.  For example, to send the following message:
  12582.  
  12583. John said, "Qmodem is the BEST!"
  12584.  
  12585. you would code the following:
  12586.  
  12587. SEND 'John said, "Qmodem is the BEST!"'
  12588.  
  12589.  
  12590. Single- and  double-quote characters  are interchangeable, but must be
  12591. used in  matched pairs.   As  shown above,  use of  one set  of  quote
  12592. characters allows  you to  include the other as part of a text string.
  12593. To send the following string:
  12594.  
  12595. John's password is QMODEM
  12596.  
  12597. the script code would be:
  12598.  
  12599. SEND "John's password is QMODEM"
  12600.  
  12601.  
  12602.  
  12603. Labels
  12604. ______________________________________________________________________
  12605. Labels define the targets of EXIST, GOTO, GOSUB, IF and WHEN commands.
  12606. All labels  must end  with a  colon.  Below are some examples of valid
  12607. script labels:
  12608.  
  12609. EXIT_LABEL:
  12610. A:
  12611. A_LONG_LABEL:
  12612. A_much_longer_label_than_the_others:
  12613.  
  12614. Labels must  appear on  a line  by themselves.   Comments are the only
  12615. other statements allowed on label lines.
  12616.  
  12617.  
  12618.  
  12619.  
  12620.  
  12621. 202                                           Scripts Operation Manual
  12622.  
  12623.  
  12624.  
  12625.  
  12626.  
  12627. Pre-defined String Variables
  12628. ______________________________________________________________________
  12629. The variables  $0 through  $9 are pre-defined and may be used anywhere
  12630. in place  of user-defined string variable.  In addition, variables $0-
  12631. $9 must  be used  if data is to be passed to the script in the form of
  12632. parameters in the Alt-F command or F-key macros.
  12633.  
  12634. String variables  may  not  exceed  64  characters  in  length.    The
  12635. variables $0-$9 can be set with the ASSIGN, GET, GETR, GETN, GETNR and
  12636. GETX commands.  For example, the statement:
  12637.  
  12638. ASSIGN 0 "This is a test"
  12639.  
  12640. store the text string:
  12641.  
  12642. This is a test
  12643.  
  12644. into variable $0.
  12645.  
  12646.  
  12647. Since string  variables are  replaced with  their actual values before
  12648. script commands are executed, the leading $ is omitted when one of the
  12649. pre-defined string  variables  is  the  first  operand  in  an  ASSIGN
  12650. statement.   The following examples further illustrate this principle:
  12651.  
  12652. ASSIGN 0 "Qmodem is the Best!"   ;$0 becomes the quoted string
  12653. ASSIGN 1 $0                      ;$1 is set to $0
  12654.  
  12655. And the statement:
  12656.  
  12657. SEND "$1"                   ;the string $1 is sent
  12658.  
  12659. would send the following string to the modem:
  12660.  
  12661. Qmodem is the Best!
  12662.  
  12663. Script commands  can actually  be stored into string Variables with an
  12664. ASSIGN command, and used later in the script.  For example:
  12665.  
  12666. ASSIGN 0 "WAITFOR "   ;$0 = WAITFOR[space]
  12667. $0 "Password "
  12668.  
  12669. would be interpreted as:
  12670.  
  12671. WAITFOR "Password "
  12672.  
  12673.  
  12674.  
  12675.  
  12676.  
  12677.  
  12678.  
  12679. Version 4.0                                                        203
  12680.  
  12681.  
  12682.  
  12683.  
  12684.  
  12685. If a  dollar sign  ($) is  required as  part of  a text  string,  that
  12686. character must be duplicated.  For example:
  12687.  
  12688. SEND "This is a dollar sign : $$"
  12689.  
  12690. will send the following:
  12691.  
  12692. This is a dollar sign : $
  12693.  
  12694.  
  12695. String variables  are very powerful tools indeed!  With their flexible
  12696. text and  command substitution features, what can be done with them is
  12697. only limited by your own imagination.
  12698.  
  12699. The next  section of  the manual describes Qmodem's script commands in
  12700. detail.   Commands are  listed in  alphabetical order, and appropriate
  12701. coding examples are included for each command.
  12702.  
  12703.  
  12704.  
  12705. System Variables
  12706. ______________________________________________________________________
  12707. Most of  Qmodem's environment  and operating  parameters are stored in
  12708. pre-defined, read-only  variables which  are available  during  script
  12709. execution.
  12710.  
  12711.    NOTE:  Pre-defined variables  may not  be the  target of ASSIGN,
  12712.           GET or INKEY commands.
  12713.  
  12714.  
  12715. $DATE
  12716.      
  12717. The $DATE variable contains the current system date, based on the PC's
  12718. internal clock.   The  date is  returned as  an 8-character  string in
  12719. MM/DD/YY format.
  12720.  
  12721. On April 15, 1989, the command:
  12722.  
  12723. SEND "$DATE"
  12724.  
  12725. would send the string "04/15/89" to the modem.
  12726.  
  12727.  
  12728. $TIME
  12729.  
  12730. The $TIME  variable is  similar to  the $DATE  variable.   The time is
  12731. stored as an 8-character string in the HH:MM:SS format, and uses a 24-
  12732. hour clock (IE, military time).
  12733.  
  12734.  
  12735.  
  12736.  
  12737. 204                                           Scripts Operation Manual
  12738.  
  12739.  
  12740.  
  12741.  
  12742.  
  12743. At 3:52:07 PM, the command
  12744.  
  12745. SEND "The time is $TIME"
  12746.  
  12747. would yield:
  12748.  
  12749. The time is 15:52:07
  12750.  
  12751.  
  12752. $LAST_ROW
  12753.  
  12754. The $LAST_ROW  variable contains  the number  of the  last line on the
  12755. screen,   not including  the Status  Line.    For example, on an 80x25
  12756. screen, this variable contains the value 24.
  12757.  
  12758.  
  12759. $LAST_COL
  12760.  
  12761. The $LAST_COL variable contains the physical screen width, in columns.
  12762. On a 25x80 screen, this variable contains the value 80.
  12763.  
  12764.  
  12765. $ATTR
  12766.  
  12767. The $ATTR  variable contains the screen's current Color Attribute.  In
  12768. a script  which changes  the screen  color, this value may be saved at
  12769. the beginning of the script, and restored before the script terminates
  12770. to re-establish the normal default screen color.
  12771.  
  12772.  
  12773. $DLPATH
  12774.  
  12775. This contains  the Download  Path as  specified in the Alt-N/D/D Setup
  12776. variable.   You could use this to point to the download directory when
  12777. using the DOWNLOAD script command.
  12778.  
  12779.  
  12780. $ULPATH
  12781.  
  12782. This contains  the Upload  Path as  specified in  the Alt-N/D/U  Setup
  12783. variable.   It could  be used  in combination  with the  UPLOAD script
  12784. command.
  12785.  
  12786.  
  12787. $SCPATH
  12788.  
  12789. This is  the Script Directory Path as specified by the Alt-N/D/S Setup
  12790. variable.  All temporary scripts should be stored in this directory.
  12791.  
  12792.  
  12793.  
  12794.  
  12795. Version 4.0                                                        205
  12796.  
  12797.  
  12798.  
  12799.  
  12800.  
  12801. Connect Information Variables
  12802. ______________________________________________________________________
  12803. Qmodem stores  information relating  to the last successful connection
  12804. (or the  current one,  if ONLINE)  in a  series  of  variables.    For
  12805. information to  be valid,  the connection  must have  been established
  12806. through a standard DIAL command or a linked script.
  12807.  
  12808.  
  12809. $BOARD
  12810.  
  12811. The $BOARD  variable contains the name field of the directory entry to
  12812. which Qmodem  was last  successfully connected.   This  is a variable-
  12813. length string which does not exceed 34 characters.
  12814.  
  12815. If you use the default Qmodem Phone Directory, the commands:
  12816.  
  12817. DIAL "1"                    ;dial the first phone book entry
  12818. NOTE Connected to $BOARD!   ;display a connect msg
  12819.  
  12820. will display:
  12821.  
  12822. Connected to The Forbin Project PCBoard!
  12823.  
  12824.  
  12825. $NUMBER
  12826.  
  12827. The $NUMBER  variable contains  the phone number of the last connected
  12828. entry, as shown in the dialing directory.
  12829.  
  12830. Using the same example:
  12831.  
  12832. NOTE Connected to $BOARD at $NUMBER.
  12833.  
  12834. will display:
  12835.  
  12836. Connected to The Forbin Project PCBoard at 1-319-233-6157.
  12837.  
  12838.  
  12839. $PASSWORD
  12840.  
  12841. The $PASSWORD  variable contains  the  password  field  for  the  last
  12842. connected entry,   as  stored in the dialing directory.  $PASSWORD can
  12843. be used   in a generic logon (linked) script for BBSs running the same
  12844. software.  The following example will operate with PCBoard systems:
  12845.  
  12846.  
  12847.  
  12848.  
  12849.  
  12850.  
  12851.  
  12852.  
  12853. 206                                           Scripts Operation Manual
  12854.  
  12855.  
  12856.  
  12857.  
  12858.  
  12859. NOTE Connected to $BOARD   ;display after connection
  12860. WAITFOR "Graphics"         ;wait for first prompt
  12861. SEND    "N^M"              ;send a "N[ENTER]"
  12862. WAITFOR "First name"       ;wait for the name prompt
  12863. SEND    "FIRST;LAST^M"     ;send your name
  12864. WAITFOR "Password"         ;wait for password prompt
  12865. SEND    "$PASSWORD^M"      ;send the linked password
  12866.  
  12867.  
  12868. $SCRIPT
  12869.  
  12870. The $SCRIPT  variable contains  the name  of the linked script for the
  12871. connected entry,  as stored in the dialing directory.  Using the above
  12872. example, we could add another line as follows:
  12873.  
  12874. NOTE This is script $SCRIPT
  12875.  
  12876. which would display:
  12877.  
  12878. This is script PCBOARD.SCR
  12879.  
  12880.  
  12881. $PROTOCOL
  12882.  
  12883. The $PROTOCOL  variable contains  the default  file transfer  protocol
  12884. assigned to the connected entry.  It is used in SEND strings or script
  12885. DOWNLOAD commands,  as illustrated  in the  following  example,  which
  12886. sends a  file download  request to a PCBoard BBS, waits for the start-
  12887. of-transfer prompt, and starts the actual download:
  12888.  
  12889.  
  12890.   SEND     "D $PROTOCOL FILENAME.ARC^M"
  12891.   WAITFOR  "[ctrl-X] to abort"
  12892.   DOWNLOAD $PROTOCOL FILENAME.ARC
  12893.  
  12894.  
  12895. $SPEED
  12896.  
  12897. The $SPEED  variable contains the current serial rate (IE., 300, 1200,
  12898. 2400, 9600  etc...).   The serial  baud rate  is set  by  the  by  the
  12899. redialer before  each number is dialed.  If you are connected at 2400,
  12900. the following command:
  12901.  
  12902. NOTE Connected at $SPEED this time
  12903.  
  12904. will display:
  12905.  
  12906. Connected at 2400 this time
  12907.  
  12908.  
  12909.  
  12910.  
  12911. Version 4.0                                                        207
  12912.  
  12913.  
  12914.  
  12915.  
  12916.  
  12917.    NOTE:  The baud rate may not be reset, depending on the state of
  12918.           the "Redialer  Set Baud  Rate" toggle  in  the  Alt-N/O/T
  12919.           Setup menu.
  12920.  
  12921.  
  12922. $COM
  12923.  
  12924. The  $COM   variable  contains  the  remainder  of  the  communication
  12925. parameters, in  the form of Databits-Parity-Stopbits.  If your current
  12926. settings are No parity, 8 data bits, and one stop bit, and your serial
  12927. rate is 2400, the command:
  12928.  
  12929. NOTE Connected at $SPEED-$COM
  12930.  
  12931. will display:
  12932.  
  12933. Connected at 2400-8-N-1
  12934.  
  12935.  
  12936. $NOTEFILE
  12937.  
  12938. This is  the full DOS filename for the Attached Note file.  Each entry
  12939. has a  unique Note  file that  can  store  information.    Using  this
  12940. variable in  combination with  the text  IO Script commands (OPENFILE,
  12941. READFILE,  CLOSEFILE),   you  can   store  remote   computer  specific
  12942. information and load it every time you call that system.
  12943.  
  12944. Example Script SHOWNOTE.SCR:
  12945.  
  12946. ╔════════════════════════════════════════════════╗
  12947.  
  12948. EXIST $NOTEFILE CONT           ;see if it exists
  12949. DISPLAYLN "No attached notes"  ;nope, say so
  12950. RETURN                         ;exit back to logon script
  12951. CONT:
  12952. DISPLAYLN "Contents of attached Note file:"
  12953. DISPLAYLN "-------------------------------"
  12954. OPENFILE $NOTEFILE READ        ;open the note file
  12955. READLOOP:
  12956.    READFILE 0                  ;read
  12957.    IF "$0" = "_EOF_" DONE      ;if end-of-file, jump to DONE
  12958.    DISPLAYLN "$0"              ;display the line
  12959.    GOTO READLOOP               ;go back and read some more
  12960. DONE:
  12961. CLOSEFILE                      ;close the note file
  12962. RETURN                         ;return back to the logon script
  12963.  
  12964. ╚════════════════════════════════════════════════╝
  12965.  
  12966.  
  12967.  
  12968.  
  12969. 208                                           Scripts Operation Manual
  12970.  
  12971.  
  12972.  
  12973.  
  12974.  
  12975. This script  simply opens  the attached  Note file  and  displays  the
  12976. contents.  To activate it, just use the SCRIPT command to call this as
  12977. a subroutine:
  12978.  
  12979. ╔════════════════════════════════════════════════╗
  12980.  
  12981. ;
  12982. ;  QuickLearn Script generated at 02:35:18 on 08-22-88
  12983. ;  May require editing before use.
  12984. ;
  12985.  
  12986. NOTE Attached Note File is : $NOTEFILE  ;if you're curious
  12987. SCRIPT SHOWNOTE.SCR                     ;now show it
  12988.  
  12989. ;rest of the auto-logon script
  12990.  
  12991. ╚════════════════════════════════════════════════╝
  12992.  
  12993.  
  12994.  
  12995. Script Commands
  12996. ______________________________________________________________________
  12997. General Coding Information
  12998.  
  12999. Script commands  usually consist  of an Operation Code, often referred
  13000. to as OpCode, and one or more Operands, also referred to as arguments,
  13001. targets, or  parameters.   Opcode  and  operands  are  separated  with
  13002. spaces.    In  certain  cases,  a  relational  operator  may  separate
  13003. parameters.   For example,  the script  IF command  has  two  operands
  13004. separated by a relational operator:
  13005.  
  13006. IF "$0" = "$1" ROUTINE
  13007.  
  13008. IF is  the OpCode,  "$1", "$2"  and ROUTINE are the operands, and = is
  13009. the relational  operator.   In the  example, the  command compares the
  13010. contents of  variables 0  and 1,  and branches  to ROUTINE if they are
  13011. equal.
  13012.  
  13013. Operands fall in one of the following categories:
  13014.  
  13015. EXPNUM: explicit  numeric values.   As  with numeric  variables, these
  13016. values must  be integers  in the  range 0-32,767.  For example, in the
  13017. command:
  13018.  
  13019. WINDOW 1 1 25 80
  13020.  
  13021. 1 1 25 and 80 are explicit numeric values.
  13022.  
  13023.  
  13024.  
  13025.  
  13026.  
  13027. Version 4.0                                                        209
  13028.  
  13029.  
  13030.  
  13031.  
  13032.  
  13033. KEYWORD: keywords  are reserved words defined internally in the script
  13034. language.   For example, all modem system variables and TURNON/TURNOFF
  13035. parameters are  keywords which  may not  be used as variable names for
  13036. any other purpose.
  13037.  
  13038.  
  13039. LABEL: labels  identify the  beginning of a routine in a script.  They
  13040. are normal  words followed by a colon.  They are used as parameters in
  13041. explicit GOTO  and GOSUB  statements, or implicitly in IF, WAITFOR and
  13042. WHEN statements:
  13043.  
  13044. IF "$0" = "$1" ROUTINE
  13045. .
  13046. .
  13047. .
  13048. ROUTINE:
  13049. .
  13050. .
  13051. if variable  0 is  equal to  variable 1,  branch to  the label  called
  13052. ROUTINE.
  13053.  
  13054. GOTO MYPARTY
  13055. .
  13056. .
  13057. MYPARTY:
  13058. .
  13059. .
  13060. branches unconditionally to the label MYPARTY.
  13061.  
  13062.  
  13063. NUMVAR: numeric  variable.   All numeric  values and variables used in
  13064. scripts must  be positive  integers, and  their value  may not  exceed
  13065. 32,767.   Numeric variables  are not  defined explicitly;    the  same
  13066. variable may  be used  for the storage of text or numeric data.  It is
  13067. the user's responsibility to insure that the variable contains numeric
  13068. data when required.
  13069.  
  13070.  
  13071. STRING: a  string is  an element of text delimited by quotes.  Strings
  13072. may contain imbedded blanks.  In the example:
  13073.  
  13074. ASSIGN 0 "This is text"
  13075.  
  13076. "This is text" is a string.
  13077.  
  13078.  
  13079. WORD: a  self-delimiting alphanumeric  value not  bound by quotes, and
  13080. not containing  imbedded blanks.   A  word can  also be  defined as  a
  13081. string without blanks and without quotes.  In the example:
  13082.  
  13083.  
  13084.  
  13085. 210                                           Scripts Operation Manual
  13086.  
  13087.  
  13088.  
  13089.  
  13090.  
  13091. ASSIGN 0 THISISAWORD
  13092.  
  13093. THISISAWORD is a word variable.  The command:
  13094.  
  13095. ASSIGN 0 "THISISAWORD"
  13096.  
  13097. is functionally identical to the previous one.
  13098.  
  13099.  
  13100.  
  13101. Script Command Reference
  13102. ______________________________________________________________________
  13103. Following is  a complete description of all available script commands.
  13104. Each command is documented in an easy-to-understand format:
  13105.  
  13106. Function A brief description of the command.
  13107.  
  13108. Declaration    A concise description of the command's syntax.
  13109.  
  13110. Remarks  A  more   detailed  description  of  the  command,  including
  13111.          parameters and  their values,  and how  the command interacts
  13112.          with the rest of the script and the system in general.
  13113.  
  13114. Restrictions   , limitations, or warnings that apply to the command or
  13115.          its parameters.   If  the command  has no  restrictions, this
  13116.          section will be omitted.
  13117.  
  13118. See also Related script commands.
  13119.  
  13120. Example  Limited Coding  example.  For in-depth script examples, refer
  13121.          to the Utilities Disk.
  13122.  
  13123.  
  13124.  
  13125.  
  13126.  
  13127.  
  13128.  
  13129.  
  13130.  
  13131.  
  13132.  
  13133.  
  13134.  
  13135.  
  13136.  
  13137.  
  13138.  
  13139.  
  13140.  
  13141.  
  13142.  
  13143. Version 4.0                                                        211
  13144.  
  13145.  
  13146.  
  13147.  
  13148.  
  13149. ______________________________________________________________________
  13150. ATWRITE
  13151. ______________________________________________________________________
  13152. Function Display a text string anywhere on the screen.
  13153.  
  13154. Declaration    ATWRITE  COL  ROW  ATTRIBUTE  STRING
  13155.  
  13156. Remarks  COL,  ROW  and  ATTRIBUTE  are  explicit  numeric  values  or
  13157.          variables.   ROW and COL must be valid screen coordinates and
  13158.          are not  restricted to  the values  set by the WINDOW and BOX
  13159.          commands.   ATTRIBUTE must be  in the range 0-255.  The COLOR
  13160.          command gives  a complete description of Color Attributes and
  13161.          how to compute them.
  13162.  
  13163. See also COLOR
  13164.  
  13165.  
  13166.  
  13167.  
  13168.  
  13169.  
  13170.  
  13171.  
  13172.  
  13173.  
  13174.  
  13175.  
  13176.  
  13177.  
  13178.  
  13179.  
  13180.  
  13181.  
  13182.  
  13183.  
  13184.  
  13185.  
  13186.  
  13187.  
  13188.  
  13189.  
  13190.  
  13191.  
  13192.  
  13193.  
  13194.  
  13195.  
  13196.  
  13197.  
  13198.  
  13199.  
  13200.  
  13201. 212                                           Scripts Operation Manual
  13202.  
  13203.  
  13204.  
  13205.  
  13206.  
  13207. Example  ATWRITE 1,1,15,"This is a test"  ;put the msg in the
  13208.                                           ;upper left corner in
  13209.                                           ;high intensity white
  13210.                                           ;on a black background
  13211.          ATWRITE 1 24 30 "$0"    ;write the text in variable $0
  13212.                                  ;on the last line using yellow
  13213.                                  ;on a blue background
  13214.  
  13215.  
  13216. ______________________________________________________________________
  13217. ASSIGN
  13218. ______________________________________________________________________
  13219. Function Store a value into a variable.
  13220.  
  13221. Declaration    ASSIGN  VARIABLE  WORD|STRING
  13222.  
  13223. Remarks  This command  stores the  contents of  a word  or string into
  13224.          VARIABLE.   The $  variable prefix  is not  used in  order to
  13225.          prevent value  substitution during  script parsing.   If  the
  13226.          string contains  embedded quote  characters,  use  the  other
  13227.          quote character  (IE., single  ' and   double  "  quotes)  to
  13228.          enclose the string.
  13229.  
  13230. See also STRING
  13231.  
  13232. Example  ASSIGN 0 TEST            ;sets $0 to "TEST"
  13233.          ASSIGN 0 "Test string"   ;sets $0 to "Test string"
  13234.          ASSIGN 0 $1              ;sets $0 to equal $1
  13235.          ASSIGN THIS "John's Wife is Kathy"
  13236.          ASSIGN THAT "$THIS"      ;needs quotes because of
  13237.                                   ;spaces and quote embedded in
  13238.                                   ;$THIS
  13239.  
  13240.  
  13241. ______________________________________________________________________
  13242. BEEP
  13243. ______________________________________________________________________
  13244. Function Produce a sound through the speaker.
  13245.  
  13246. Declaration    BEEP  TONE
  13247.  
  13248. Remarks  TONE is  an explicit  numeric value or variable and specifies
  13249.          the frequency  in  Hertz  (cycles/sec)..    The  sound  lasts
  13250.          approximately 1/5 sec.  Multiple BEEP commands may be grouped
  13251.          together to produce more meaningful sounds (IE., alarms).  If
  13252.          TONE is non-numeric, an error occurs.
  13253.  
  13254.  
  13255.  
  13256.  
  13257.  
  13258.  
  13259. Version 4.0                                                        213
  13260.  
  13261.  
  13262.  
  13263.  
  13264.  
  13265. Example  BEEP   1200      ;a 1200 Hz tone
  13266.          BEEP   1400      ;a 1400 Hz tone
  13267.          STRING TONE      ;define a new variable called TONE
  13268.          GET    TONE 4    ;prompt for the value of TONE
  13269.                           ;no check is made for invalid data
  13270.          BEEP   $TONE     ;beep at $tone Hz
  13271.  
  13272.  
  13273. ______________________________________________________________________
  13274. BOX
  13275. ______________________________________________________________________
  13276. Function Draw  a  Box  on  the  screen  and  set  the  logical  screen
  13277.          dimensions.
  13278.  
  13279. Declaration    BOX  C1  R1  C2  R2
  13280.  
  13281. Remarks  This command  is used  to define an on-screen logical window.
  13282.          The window  is defined  by its  upper left  corner at row R1,
  13283.          column C1,  and its bottom right corner at row R2, column C2.
  13284.          Row and  column values  must be  explicit numeric  values  or
  13285.          variables, separated by spaces or commas.
  13286.  
  13287.          After a  BOX or  WINDOW command, the output of screen display
  13288.          commands (except  ATWRITE) is  restricted to the area defined
  13289.          in the BOX command.
  13290.  
  13291.          Coordinates values  are not  verified; you  must insure  that
  13292.          C2>C1, R2>R1, and all four values are valid screen locations.
  13293.  
  13294.          The upper left corner of the screen is at coordinates 1,1.
  13295.  
  13296. See also WINDOW, GETSCR, PUTSCR
  13297.  
  13298. Example  BOX 1,1,80,24  ;opens a window the full size of
  13299.                         ;the screen.
  13300.          BOX 20,4,60,8  ;opens a window 40 cols wide by
  13301.                         ;4 lines high.
  13302.          BOX 20 4 60 8  ;same as above without comma
  13303.                         ;delimited.
  13304.  
  13305.    TIP:  If you  have an EGA or VGA display, the lower right corner
  13306.          may vary with the screen dimensions (See Alt-2 or Alt-4).
  13307.  
  13308.  
  13309. ______________________________________________________________________
  13310. BREAK
  13311. ______________________________________________________________________
  13312. Function Send the UART BREAK signal.
  13313.  
  13314. Declaration    BREAK
  13315.  
  13316.  
  13317. 214                                           Scripts Operation Manual
  13318.  
  13319.  
  13320.  
  13321.  
  13322.  
  13323. Remarks  The BREAK  command  sends  the  UART  Break  signal  for  1.5
  13324.          seconds.
  13325.          
  13326.          BREAK is the script equivalent of the Ctrl-End command.
  13327.  
  13328. Example  BREAK          ;send the Break signal
  13329.  
  13330.  
  13331. ______________________________________________________________________
  13332. CAPTURE
  13333. ______________________________________________________________________
  13334. Function Open a File to capture all terminal I/O.
  13335.  
  13336. Declaration    CAPTURE  FILENAME
  13337.  
  13338. Remarks  The filename should be a fully qualified, valid DOS filename.
  13339.          FILENAME must be a word or string variable.  If the drive and
  13340.          path are omitted, the current drive:\path is assumed.
  13341.          
  13342.          If the  file exists,  data will  be added  to the  end of  it
  13343.          (appended).  If the file does not exist, it will be created.
  13344.          
  13345.          To close the capture file, use the TURNOFF CAPTURE command.
  13346.  
  13347.          CAPTURE is the script equivalent of the Ctrl-Home command.
  13348.  
  13349. See also TURNOFF
  13350.  
  13351. Example  CAPTURE C:\QMODEM\TEXT\CAPDATA.DAT
  13352.          CAPTURE THISFILE.DAT                ;in the current directory
  13353.          TURNOFF CAPTURE
  13354.  
  13355.  
  13356. ______________________________________________________________________
  13357. CHDIR
  13358. ______________________________________________________________________
  13359. Function Change to a new Drive:\Directory.
  13360.  
  13361. Declaration    CHDIR  DIRECTORY
  13362.  
  13363. Remarks  This command  is used  to change the default DOS directory to
  13364.          that specified  in the DIRECTORY variable.  DIRECTORY must be
  13365.          a word or string variable.
  13366.  
  13367.          If a  new drive  specification is  included in  the DIRECTORY
  13368.          variable, the current drive will also be changed.
  13369.  
  13370.          CHDIR is the equivalent of the Alt-O command (and of the Alt-
  13371.          L command if the drive is changed).
  13372.  
  13373.  
  13374.  
  13375. Version 4.0                                                        215
  13376.  
  13377.  
  13378.  
  13379.  
  13380.  
  13381. See also DRIVE
  13382.  
  13383. Example  CHDIR \           ;change to the root directory
  13384.          CHDIR C:\QMODEM   ;change to C:\QMODEM
  13385.  
  13386.          DISPLAY "Enter the new directory ? "  ;a prompt
  13387.          GET NEWDIR 64     ;get the new directory
  13388.          CHDIR $NEWDIR     ;and do the change
  13389.  
  13390.  
  13391. ______________________________________________________________________
  13392. CLOSEFILE
  13393. ______________________________________________________________________
  13394. Function Closes the currently open TEXT file.
  13395.  
  13396. Declaration    CLOSEFILE
  13397.  
  13398. Remarks  The CLOSEFILE  command closes the file opened by the OPENFILE
  13399.          command.   For  a  complete  explanation,  see  the  OPENFILE
  13400.          command.
  13401.  
  13402. See also OPENFILE, READFILE, WRITEFILE
  13403.  
  13404. Example  OPENFILE TEXT.DOC READ  ;open text.doc for reading
  13405.          READFILE 0              ;read the first line into $0
  13406.          CLOSEFILE               ;close the file
  13407.  
  13408.  
  13409. ______________________________________________________________________
  13410. CLRSCR
  13411. ______________________________________________________________________
  13412. Function Clear the logical screen.
  13413.  
  13414. Declaration    CLRSCR
  13415.  
  13416. Remarks  CLRSCR clears  the current active window.  If a WINDOW or BOX
  13417.          command has not been issued, the entire screen is cleared.
  13418.  
  13419.          CLRSCR is the script equivalent of the Alt-C command.
  13420.  
  13421. See also BOX, WINDOW
  13422.  
  13423. Example  CLRSCR             ;clear the screen
  13424.          BOX 1 1 80 14      ;open a window on the screen
  13425.          CLRSCR             ;clear the window
  13426.          WINDOW 1 1 80 24   ;define the "full screen"
  13427.          CLRSCR             ;clear the whole screen
  13428.  
  13429.  
  13430.  
  13431.  
  13432.  
  13433. 216                                           Scripts Operation Manual
  13434.  
  13435.  
  13436.  
  13437.  
  13438.  
  13439. ______________________________________________________________________
  13440. COLOR
  13441. ______________________________________________________________________
  13442.  
  13443. Function Defines the color of displayed text.
  13444.  
  13445. Declaration    COLOR  ATTRIBUTE
  13446.  
  13447. Remarks  This command  sets both foreground and background colors with
  13448.          a single  attribute.   ATTRIBUTE is an explicit numeric value
  13449.          or variable.   The following values are needed to compute the
  13450.          color attribute:
  13451.  
  13452.          0  Black        8  Dark Gray        +128  Blink
  13453.          1  Blue         9  Light Blue
  13454.          2  Green        10 Light Green
  13455.          3  Cyan         11 Light Cyan
  13456.          4  Red          12 Light Red
  13457.          5  Magenta      13 Light Magenta
  13458.          6  Brown        14 Yellow 
  13459.          7  Light Gray   15 White
  13460.  
  13461.          Foreground colors  may be 0 thru 15; background colors may be
  13462.          0 thru  7.    To  compute  the  correct  attribute,  use  the
  13463.          following formula:
  13464.  
  13465.          ATTRIBUTE = Foreground + (16 * Background)
  13466.  
  13467.          For a blinking foreground, add 128 to the attribute.
  13468.  
  13469.          This sounds  a lot  more complicated than it actually is.  To
  13470.          help you,  we have included a Script called COLORS.SCR on the
  13471.          Utilities Disk.   Run this script to view all available color
  13472.          combinations and values.
  13473.  
  13474. See also ATWRITE
  13475.  
  13476. Example  COLOR 30    ;Yellow on Blue
  13477.          COLOR 2     ;Green on Black
  13478.          COLOR 207   ;Blinking White on Red
  13479.  
  13480.  
  13481. ______________________________________________________________________
  13482. COLORBG
  13483. ______________________________________________________________________
  13484.  
  13485. Function Changes just the background color of displayed text.
  13486.  
  13487. Declaration    COLORBG  ATTRIBUTE
  13488.  
  13489.  
  13490.  
  13491. Version 4.0                                                        217
  13492.  
  13493.  
  13494.  
  13495.  
  13496.  
  13497. Remarks  This  command   sets  the  background  color  with  a  single
  13498.          attribute.    ATTRIBUTE  is  an  explicit  numeric  value  or
  13499.          variable.   The following are valid ATTRIBUTE values:
  13500.  
  13501.          0  Black
  13502.          1  Blue
  13503.          2  Green
  13504.          3  Cyan
  13505.          4  Red     
  13506.          5  Magenta
  13507.          6  Brown
  13508.          7  Light Gray
  13509.  
  13510.  
  13511. See also ATWRITE, COLOR, COLORFG
  13512.  
  13513.  
  13514. Example  COLORBG 1    ;Changes the background to Blue
  13515.  
  13516.  
  13517.  
  13518. ______________________________________________________________________
  13519. COLORFG
  13520. ______________________________________________________________________
  13521.  
  13522. Function Changes just the foreground color of displayed text.
  13523.  
  13524. Declaration    COLORFG  ATTRIBUTE
  13525.  
  13526. Remarks  This  command   sets  the  foreground  color  with  a  single
  13527.          attribute.    ATTRIBUTE  is  an  explicit  numeric  value  or
  13528.          variable.   The following values are valid color attributes:
  13529.  
  13530.          0  Black        8  Dark Gray        
  13531.          1  Blue         9  Light Blue
  13532.          2  Green        10 Light Green
  13533.          3  Cyan         11 Light Cyan
  13534.          4  Red          12 Light Red
  13535.          5  Magenta      13 Light Magenta
  13536.          6  Brown        14 Yellow 
  13537.          7  Light Gray   15 White
  13538.  
  13539.          For a blinking foreground, add 16 to the attribute.
  13540.  
  13541. See also ATWRITE, COLOR, COLORBG
  13542.  
  13543. Example  COLORFG 7   ;change the foreground to white
  13544.  
  13545.  
  13546.  
  13547.  
  13548.  
  13549. 218                                           Scripts Operation Manual
  13550.  
  13551.  
  13552.  
  13553.  
  13554.  
  13555. ______________________________________________________________________
  13556. DEBUG
  13557. ______________________________________________________________________
  13558. Function Enable or disable the Internal Script Debugger.
  13559.  
  13560. Declaration    DEBUG  ON|OFF
  13561.  
  13562. Remarks  The DEBUG  command is  useful in  developing complex  scripts
  13563.          since you  can trace  script execution on-screen and in real-
  13564.          time mode. DEBUG is OFF by default when a script starts.
  13565.  
  13566. Example  DEBUG ON   ;Turn it on
  13567.          - - - execute script commands - - -
  13568.          DEBUG OFF  ;Turn it back off
  13569.  
  13570.  
  13571. ______________________________________________________________________
  13572. DECR
  13573. ______________________________________________________________________
  13574. Function Decrement the value stored in a variable.
  13575.  
  13576. Declaration    DECR  VARIABLE
  13577.  
  13578. Remarks  DECR decrements the value of a numeric variable by 1.  If the
  13579.          variable is  non- numeric  or not greater than zero, an error
  13580.          will occur.
  13581.  
  13582. See also INCR, STRING, ASSIGN
  13583.  
  13584. Example  ASSIGN  0 10              ;load $0 with 10
  13585.          LOOP:                     ;a place to loop to
  13586.          DISPLAY "$0"              ;display the value
  13587.          DECR    0                 ;decrement $0 by 1
  13588.          IF      "$0" = "0" DONE   ;if it is equal to 0
  13589.                                    ;goto DONE
  13590.          GOTO    LOOP              ;Branch back to LOOP
  13591.          DONE:                     ;Exit point
  13592.  
  13593.  
  13594. ______________________________________________________________________
  13595. DELAY
  13596. ______________________________________________________________________
  13597. Function Pause a script for a certain amount of time.
  13598.  
  13599. Declaration    DELAY  DELAYVALUE
  13600.  
  13601.  
  13602.  
  13603.  
  13604.  
  13605.  
  13606.  
  13607. Version 4.0                                                        219
  13608.  
  13609.  
  13610.  
  13611.  
  13612.  
  13613. Remarks  DELAYVALUE  is   an  explicit   value  or   numeric  variable
  13614.          containing  the duration of the delay in milliseconds (1000 =
  13615.          1 second).   This  is similar  to the  PAUSE command,  but no
  13616.          characters are  displayed during  a DELAY.  You might want to
  13617.          use this  command when  building menus  or displaying  online
  13618.          help.
  13619.  
  13620.  
  13621. See also PAUSE
  13622.  
  13623. Example  DELAY 1000    ;stops for 1 second
  13624.          DELAY 10000   ;stops for 10 seconds
  13625.          DELAY 100     ;stops for 1 tenth of a second
  13626.  
  13627.  
  13628. ______________________________________________________________________
  13629. DIAL
  13630. ______________________________________________________________________
  13631. Function Used to tag and dial one or more entries.
  13632.  
  13633. Declaration    DIAL  DIALSTRING
  13634.  
  13635. Remarks  The DIAL  command is  used to call one or more entries stored
  13636.          in the  phone directory.  DIALSTRING is  a string  or  string
  13637.          variable in  the same format as the Tag Multiple entry in the
  13638.          Alt-D directory  display.   Please refer  to the Tag Multiple
  13639.          command under Alt-D for additional information.
  13640.  
  13641.  
  13642. Example  DIAL "1"         ;dial entry number 1.
  13643.          DIAL "TForbin"   ;dial all numbers that match
  13644.                           ;the text "FORBIN".
  13645.          DIAL "PA1B PA2"  ;dial 1 & 2 with Prefix
  13646.                           ;modifiers.
  13647.  
  13648. Restrictions   If a  script is  linked to  the entry  being dialed, it
  13649.          will not  be executed.   All  commands to be executed must be
  13650.          defined in the script file which contains the DIAL command.
  13651.  
  13652.    TIP:  DIAL keeps  dialing the  same entry  until a connection is
  13653.          established.   To dial a number once without re-tries, use
  13654.          the  SEND  command  with  the  appropriate  modem  dialing
  13655.          string.
  13656.  
  13657. Example  SEND "ATDT 1 319 233-6157^M" ;dial the number
  13658.          WAITFOR "CONNECT"            ;wait for connect
  13659.          - - -                        ;more commands
  13660.  
  13661.  
  13662.  
  13663.  
  13664.  
  13665. 220                                           Scripts Operation Manual
  13666.  
  13667.  
  13668.  
  13669.  
  13670.  
  13671.    TIP:  If you  sort the phone book and make explicit reference to
  13672.          entry numbers,  be sure  to reflect  the changes  in  your
  13673.          script's DIAL  commands.   To dial  an entry regardless of
  13674.          its number, use the Text Match tagging method.
  13675.  
  13676.  
  13677. ______________________________________________________________________
  13678. DISPLAY
  13679. ______________________________________________________________________
  13680. Function Display a line of text on the screen.
  13681.  
  13682. Declaration    DISPLAY  TEXT
  13683.  
  13684. Remarks  The TEXTSTRING  string or string variable is displayed at the
  13685.          current cursor  position and in the current color.  Following
  13686.          the DISPLAY,  the cursor  is located after the last character
  13687.          in TEXTSTRING.  The text is not sent to the serial port.  The
  13688.          cursor position  is  set  by  default  following  a  DISPLAY,
  13689.          DISPLAYLN, NOTE  or ATWRITE  statement, or by the user with a
  13690.          GOTOXY statement.   The  color is the screen's default, or is
  13691.          set by the user with a COLOR statement.
  13692.  
  13693. See also ATWRITE, COLOR, DISPLAYLN, GOTOXY, NOTE
  13694.  
  13695. Example  GETSCR                ;save the screen
  13696.          BOX     1 1 20 9      ;draw a box
  13697.          COLOR   11            ;set color to Light Cyan
  13698.          GOTOXY  6 2           ;go to col 6, row 2
  13699.          DISPLAY "TEST MENU"   ;show heading
  13700.          COLOR   10            ;set Light Green color
  13701.          GOTOXY  3 4
  13702.          DISPLAY "A) Option one"
  13703.          GOTOXY  3 5
  13704.          DISPLAY "B) Option two"
  13705.          GOTOXY  3 6
  13706.          DISPLAY "C) Option three"
  13707.          GOTOXY  3 7
  13708.          DISPLAY "D) Option four"
  13709.          GOTOXY  3 7
  13710.          DISPLAY "Option # ? "
  13711.          COLOR   15            ;set color to White
  13712.          GET     0 1           ;read character into $0
  13713.          PUTSCR                ;restore the screen
  13714.  
  13715.    Note:  DISPLAY is  similar to  the basic statement PRINT "Text";
  13716.           (note the  semicolon) which  does not  automatically  re-
  13717.           position  the   cursor  to   the  next  line  and  allows
  13718.           concatenation of displayed strings on the screen.
  13719.                                                                       
  13720.                                                                       
  13721.  
  13722.  
  13723. Version 4.0                                                        221
  13724.  
  13725.  
  13726.  
  13727.  
  13728.  
  13729. ______________________________________________________________________
  13730. DISPLAYLN
  13731. ______________________________________________________________________
  13732.  
  13733. Function Display a line of text on the screen.
  13734.  
  13735. Declaration    DISPLAYLN  TEXT
  13736.  
  13737. Remarks  The text  defined by  TEXT is displayed at the current cursor
  13738.          position and  in the  current color.   Following the display,
  13739. î :yúTHANKYOUDOCl·olumn of the next line in
  13740.          the logical screen.  The text is not sent to the serial port.
  13741.          Original cursor  location and  color is  described under  the
  13742.          DISPLAY command.
  13743.  
  13744. See also DISPLAY, ATWRITE
  13745.  
  13746. Example  GETSCR                ;save the screen
  13747.          COLOR     11          ;set color to Light Cyan
  13748.          DISPLAYLN "TEST MENU" ;show heading
  13749.          COLOR     10          ;set Light Green color
  13750.          DISPLAYLN "A) Option one"
  13751.          DISPLAYLN "B) Option two"
  13752.          DISPLAYLN "C) Option three"
  13753.          DISPLAYLN "D) Option four"
  13754.          DISPLAY   "Option # ? "
  13755.          COLOR     15          ;set color to White
  13756.          GET       0 1         ;read character into $0
  13757.          PUTSCR                ;restore the screen
  13758.  
  13759.  
  13760.    NOTE:  DISPLAYLN is  similar to the basic PRINT "Text" statement
  13761.           (note the  lack of  a trailing semicolon) which relocates
  13762.           the cursor  to the  beginning  of  the  next  line  after
  13763.           printing.
  13764.  
  13765.  
  13766.  
  13767. ______________________________________________________________________
  13768. DOS
  13769. ______________________________________________________________________
  13770. Function Execute a DOS.command.
  13771.  
  13772. Declaration    DOS  COMMAND
  13773.  
  13774. Remarks  DOS is the script equivalent of the Alt-R command; it invokes
  13775.          the Qmodem  DOS Shell,  and  it  is  subjected  to  the  same
  13776.          limitations.     Please  refer   to  the  Alt-R  command  for
  13777.          additional information  on the DOS Shell .  COMMAND must be a
  13778.          word, string, or string variable.
  13779.  
  13780.  
  13781. 222                                           Scripts Operation Manual
  13782.  
  13783.  
  13784.  
  13785.  
  13786.  
  13787. Example  DOS "Copy text.doc PRN"    ;copy a doc file to
  13788.                                     ;the printer.
  13789.          DOS "123"                  ;run Lotus 123
  13790.          DOS "type text.doc|more"   ;even pipes and
  13791.                                     ;redirection work!
  13792.  
  13793.          DOS "COMMAND"  ;will invoke the command prompt
  13794.                         ;until EXIT is entered, just
  13795.                         ;like Alt-R
  13796.  
  13797.  
  13798. ______________________________________________________________________
  13799. DOWNLOAD
  13800. ______________________________________________________________________
  13801. Function Receive a file.
  13802.  
  13803. Declaration    DOWNLOAD  PROTOCOL  FILENAME  [ASCII options]
  13804.  
  13805. Remarks  DOWNLOAD is  the  script  equivalent  of  the  PgDn  command.
  13806.          PROTOCOL must  be  one  of  the  internal  or  external  file
  13807.          transfer protocols defined to Qmodem.  FILENAME must be fully
  13808.          qualified (include the drive and path) or it will be saved in
  13809.          the  download   directory  (Alt-N/D/D).     If  the  download
  13810.          directory is  blank, then  the file  will  be  saved  in  the
  13811.          current directory.
  13812.  
  13813.          Status information  is shown  in a  window while the transfer
  13814.          takes place.
  13815.  
  13816.          Internal Protocols:  
  13817.  
  13818.             A  ASCII
  13819.             X  Xmodem
  13820.             C  Xmodem CRC
  13821.             R  Relaxed Xmodem
  13822.             O  Xmodem-1K
  13823.             F  Xmodem-1K/G
  13824.             Y  Ymodem Batch
  13825.             G  Ymodem/G Batch
  13826.  
  13827.          ASCII downloads  can  have  optional  parameters  to  aid  in
  13828.          conversion from one system to another.  They can be specified
  13829.          in any order and are not case sensitive.  The parameters are:
  13830.  
  13831.             XLATE=[ON|OFF]          Sets translate table usage.
  13832.             CR=[NONE|STRIP|ADDLF]   Sets CR handling options.
  13833.             LF=[NONE|STRIP|ADDCR]   Sets LF handling options.
  13834.  
  13835. See also DOWNLD, UPLOAD, UPLD
  13836.  
  13837.  
  13838.  
  13839. Version 4.0                                                        223
  13840.  
  13841.  
  13842.  
  13843.  
  13844.  
  13845. Example  DOWNLOAD Y C:\QMODEM\     ;Batch Ymodem download
  13846.          DOWNLOAD O THISFILE.TXT   ;saves to current directory
  13847.  
  13848.          CHDIR  C:\QMODEM          ;change directory
  13849.          DOWNLD C QMODEM30.ARC     ;put in current directory
  13850.  
  13851.          DOWNLOAD A Filename XLATE=on CR=addlf LF=strip
  13852.          ;This will filter the incoming data through the Input
  13853.          ;Translate Table, add one LF after each CR, and strip
  13854.          ;all LF's as it saves to FILENAME.
  13855.  
  13856.    CAUTION:  When using  the ASCII  protocol, Qmodem must receive a
  13857.              ^Z  (EOF)   character  or   the  download  will  never
  13858.              terminate.
  13859.  
  13860.  
  13861. ______________________________________________________________________
  13862. DOWNLD
  13863. ______________________________________________________________________
  13864. Function Receive a file (short form).
  13865.  
  13866. Declaration    DOWNLD  PROTOCOL  FILENAME  [ASCII options]
  13867.  
  13868. Remarks  DOWNLD is the equivalent of the Ctrl-PgDn command; its syntax
  13869.          and function  are identical  to the  DOWNLOAD script command.
  13870.          With DOWNLD,  the status  line is used instead of a window to
  13871.          monitor progress.  Please refer to the DOWNLOAD and Ctrl-PgDn
  13872.          commands for additional information.
  13873.  
  13874. See also DOWNLOAD, UPLOAD, UPLD
  13875.  
  13876.  
  13877. ______________________________________________________________________
  13878. DRIVE
  13879. ______________________________________________________________________
  13880. Function Change the default drive.
  13881.  
  13882. Declaration    DRIVE  LETTER
  13883.  
  13884. Remarks  DRIVE changes  the default  logged drive, but does not switch
  13885.          directories as  does the  CHDIR command.  LETTER is any valid
  13886.          drive letter  in your  system (A-Z),  including those defined
  13887.          with the DOS SUBST command.
  13888.  
  13889.          DRIVE is the equivalent of the Alt-L command.
  13890.  
  13891.  
  13892. See also CHDIR
  13893.  
  13894.  
  13895.  
  13896.  
  13897. 224                                           Scripts Operation Manual
  13898.  
  13899.  
  13900.  
  13901.  
  13902.  
  13903. Example  DRIVE A    ; switch to the A: floppy drive
  13904.          DRIVE C    ; switch to the C: drive
  13905.          DRIVE Z    ; switch to the Z: drive
  13906.  
  13907.  
  13908. ______________________________________________________________________
  13909. EGA
  13910. ______________________________________________________________________
  13911. Function Change screen  size on  systems  equipped  with  EGA  or  VGA
  13912.          display adapters.
  13913.  
  13914. Declaration    EGA  25|43|50
  13915.  
  13916. Remarks  EGA changes  the number  of screen  lines to  the  new  value
  13917.          specified in  the command  (43 and  50 are interchangeable to
  13918.          remain compatible  with previous  releases of Qmodem).  If 43
  13919.          or 50  is specified,  EGA systems  will switch  to  an  80x43
  13920.          screen size, while VGA cards will switch to 80x50.
  13921.  
  13922.          EGA is the equivalent of the Alt-2 and Alt-4 commands.
  13923.  
  13924.  
  13925. Restrictions   This command is ignored if no EGA or VGA is present.
  13926.  
  13927. Example  EGA 43    ;switch to 80x43 (EGA) or 80x50 (VGA).
  13928.          EGA 25    ;switch to 80x25 for both EGA and VGA.
  13929.  
  13930.    NOTE:  The screen will be cleared after each EGA command.
  13931.  
  13932.  
  13933. ______________________________________________________________________
  13934. EXIST
  13935. ______________________________________________________________________
  13936.  
  13937. Function Conditional branch depending on the presence of a file.
  13938.  
  13939. Declaration    EXIST  FILENAME  LABEL
  13940.  
  13941. Remarks  If FILENAME  is found,  the script will  jump to the location
  13942.          in LABEL.   If  a wildcard  filename is  passed, at least one
  13943.          match will  set the $SUCCESS flag and a jump to LABEL occurs.
  13944.          If there  are no  matches, the  $FAIL flag  is set and script
  13945.          execution will continue with the next sequential statement.
  13946.  
  13947.  
  13948.  
  13949.  
  13950.  
  13951.  
  13952.  
  13953.  
  13954.  
  13955. Version 4.0                                                        225
  13956.  
  13957.  
  13958.  
  13959.  
  13960.  
  13961. Example  EXIST C:\AUTOEXEC.BAT YES
  13962.             ;if there is an autoexec.bat in the C:\ root
  13963.             ;directory, jump to label YES:
  13964.          - - -
  13965.             ;do other script commands if it does not exist.
  13966.          YES:  ;label
  13967.  
  13968.          ASSIGN 0 C:\AUTOEXEC.BAT   ;assign $0 the filename
  13969.          EXIST $0 YES               ;same as above
  13970.  
  13971.  
  13972. ______________________________________________________________________
  13973. EXIT
  13974. ______________________________________________________________________
  13975. Function Terminates the script and returns to terminal mode.
  13976.  
  13977. Declaration    EXIT
  13978.  
  13979. Remarks  The script is unconditionally stopped, and control returns to
  13980.          Qmodem.
  13981.  
  13982. See also RETURN
  13983.  
  13984. Example  EXIT        ;stop the scripts
  13985.          NOTE text   ;does NOT execute because of EXIT
  13986.  
  13987.  
  13988. ______________________________________________________________________
  13989. FKEY
  13990. ______________________________________________________________________
  13991. Function Execute an F-Key macro.
  13992.  
  13993. Declaration    FKEY  KEYNO
  13994.  
  13995. Remarks  FKEY executes  the command stored in the current function key
  13996.          file.   The function  key and  shift state are defined by the
  13997.          explicit numeric  value  or  variable  KEYNO,  based  on  the
  13998.          following table:
  13999.  
  14000.                1 - 12   Normal  F1 - F12
  14001.               13 - 24   Shift   F1 - F12
  14002.               25 - 36   Ctrl    F1 - F12
  14003.               37 - 48   Alt     F1 - F12
  14004.  
  14005. See also LOADKEY
  14006.  
  14007. Example  FKEY 27   ;send the string stored in Ctrl-F3.
  14008.          FKEY 1    ;send the string in F1.
  14009.  
  14010.  
  14011.  
  14012.  
  14013. 226                                           Scripts Operation Manual
  14014.  
  14015.  
  14016.  
  14017.  
  14018.  
  14019.    TIP:  FKEY will  execute commands stored in function keys 11 and
  14020.          12, even if your keyboard has only 10 function keys rather
  14021.          than 12.   Refer  to the  Alt-J command for information on
  14022.          storing commands into function keys.
  14023.  
  14024.  
  14025. ______________________________________________________________________
  14026. FLUSH
  14027. ______________________________________________________________________
  14028. Function  Clear the Keyboard buffer, COM port buffer, or both.
  14029.  
  14030. Declaration    FLUSH  KBD|COM|ALL
  14031.  
  14032. Remarks  FLUSH  clears  data  pending  in  the  keyboard  buffer  (KBD
  14033.          option), the  COM port  buffer (COM  option), or  both (ALL).
  14034.          Any pending input data stored in the buffers is lost.
  14035.  
  14036. Example  DISPLAY "What is your name? " ;ask for a name
  14037.          FLUSH   COM                   ;clear the com port
  14038.          GET     1 20                  ;read it into $1
  14039.  
  14040.  
  14041. ______________________________________________________________________
  14042. GET
  14043. ______________________________________________________________________
  14044. Function Read data from the keyboard and store it into a variable.
  14045.  
  14046. Declaration    GET  KBDATA  COUNT
  14047.  
  14048. Remarks  Input:     KBD
  14049.          Output:    Screen and COM port
  14050.          
  14051.          The GET  command only  accepts data  from the local keyboard.
  14052.          The data is echoed to the screen AND to the COM port.
  14053.  
  14054.          KBDATA is any valid string variable; its name is not preceded
  14055.          with the  "$" identifier.  COUNT is an explicit numeric value
  14056.          or variable which defines the maximum number of characters in
  14057.          the input string.  [ENTER] terminates the GET command.
  14058.  
  14059. See also GETR, GETN, GETNR, GETX, INKEY
  14060.  
  14061. Example  DISPLAY   "Enter number ?" ;prompt for number.
  14062.          GET       0 2              ;read 2 chars max.
  14063.          DISPLAYLN "You entered $0" ;show it again.
  14064.  
  14065.  
  14066.  
  14067.  
  14068.  
  14069.  
  14070.  
  14071. Version 4.0                                                        227
  14072.  
  14073.  
  14074.  
  14075.  
  14076.  
  14077. ______________________________________________________________________
  14078. GETR
  14079. ______________________________________________________________________
  14080. Function Read from  both the  local keyboard and COM port and store it
  14081.          in a variable.
  14082.  
  14083. Declaration    GETR  KBCOMDATA COUNT
  14084.  
  14085. Remarks  Input:     KBD and COM port
  14086.          Output:    Screen and COM port
  14087.  
  14088.          GETR is a superset of the GET command which also accepts data
  14089.          from the  COM port.   Data  is displayed  on the  screen  and
  14090.          echoed back to the COM port.
  14091.  
  14092.          Parameters  and  coding  syntax  are  identical  to  the  GET
  14093.          command.
  14094.  
  14095.          If online checking is enabled with the TURNON ONLINE command,
  14096.          GETR will  check the  modem for  an ONLINE condition.  If the
  14097.          connection is  lost (IE.,  carrier drop),  the variable  will
  14098.          contain the  string "_OFFLINE_",  regardless of  the value in
  14099.          COUNT.
  14100.  
  14101.  
  14102. See also GET, GETN, GETNR, GETX, INKEY
  14103.  
  14104. Example  WRITE   "Enter number ?"  ;ask for number over COM port
  14105.          GETR    0 2               ;read 2 chars max
  14106.          WRITELN "You entered $0"  ;show again on both screens
  14107.  
  14108.  
  14109.          TURNON ONLINE                   ;online checking active
  14110.          WRITE  "Enter a number ? "      ;prompt for a number
  14111.          GETR   num 5                    ;read the number
  14112.          - - -                 - - -
  14113.          - - -  Carrier drops  - - -     ;the caller hung up...
  14114.          - - -                 - - -
  14115.          IF '$num' = '100' Label_100     ;if num=100,
  14116.                                          ;  goto Label_100.
  14117.          IF '$num' = '_OFFLINE_' Cycle   ;if caller hung up,
  14118.                                          ;  goto Cycle.
  14119.  
  14120.  
  14121. ______________________________________________________________________
  14122. GETN
  14123. ______________________________________________________________________
  14124. Function Read from the local keyboard and store it in a variable.
  14125.  
  14126. Declaration    GETN  KBDATA COUNT
  14127.  
  14128.  
  14129. 228                                           Scripts Operation Manual
  14130.  
  14131.  
  14132.  
  14133.  
  14134.  
  14135. Remarks  Input:     KBD
  14136.          Output:    Screen
  14137.  
  14138.          The GETN  command accepts  data from the local keyboard.  The
  14139.          characters are displayed on the local screen only.
  14140.  
  14141.          GETN is syntactically identical to GET.
  14142.  
  14143.  
  14144. See also GET, GETR, GETNR, GETX, INKEY
  14145.  
  14146. Example  DISPLAY   "Enter number ?"  ;ask for number
  14147.          GETN      0 2               ;read 2 chars max
  14148.          DISPLAYLN "You entered $0"  ;show again on local screen
  14149.  
  14150.  
  14151. ______________________________________________________________________
  14152. GETNR
  14153. ______________________________________________________________________
  14154. Function Read from  both the  local keyboard and COM port and store it
  14155.          in a variable.
  14156.  
  14157. Declaration    GETNR  KBCOMDATA  COUNT
  14158.  
  14159. Remarks  Input:     KBD and COM port
  14160.          Output:    Screen
  14161.  
  14162.          GETNR reads  data from  the local  keyboard and  from the COM
  14163.          port.  The characters are displayed on the local screen only.
  14164.  
  14165.  
  14166.  
  14167.  
  14168.  
  14169.  
  14170.  
  14171.  
  14172.  
  14173.  
  14174.  
  14175.  
  14176.  
  14177.  
  14178.  
  14179.  
  14180.  
  14181.  
  14182.  
  14183.  
  14184.  
  14185.  
  14186.  
  14187. Version 4.0                                                        229
  14188.  
  14189.  
  14190.  
  14191.  
  14192.  
  14193.          GETNR is syntactically identical to GETR, and the GETR online
  14194.          dependency and restrictions also apply to GETNR.
  14195.  
  14196.  
  14197. See also GET, GETN, GETNR, GETX, INKEY
  14198.  
  14199. Example  WRITE   "Enter number ?"    ;ask for number
  14200.          GETNR    0 2                ;read 2 chars max
  14201.          WRITELN "Caller entered $0" ;show again on local screen
  14202.  
  14203.          TURNON ONLINE                   ;online checking active
  14204.          WRITE  "Enter a number ? "      ;prompt for a number
  14205.          GETNR  num 5                    ;read the number
  14206.          - - -                 - - -
  14207.          - - -  Carrier drops  - - -     ;the caller hung up...
  14208.          - - -                 - - -
  14209.          IF '$num' = '100' Label_100     ;if num=100,
  14210.                                          ;  goto Label_100.
  14211.          IF '$num' = '_OFFLINE_' Cycle   ;if caller hung up,
  14212.                                          ;  goto Cycle.
  14213.  
  14214.  
  14215. ______________________________________________________________________
  14216. GETSCR
  14217. ______________________________________________________________________
  14218. Function Save a copy of the current screen in memory.
  14219.  
  14220. Declaration    GETSCR
  14221.  
  14222. Remarks  GETSCR saves  a snapshot  of the current screen for later re-
  14223.          display with the PUTSCR command.
  14224.  
  14225. Restrictions   GETSCR may  be nested  up to  three  levels  deep.    A
  14226.          "nesting  level"  is  defined  as  a  corresponding  pair  of
  14227.          GETSCR/PUTSCR commands.   Beyond  the third nesting level, an
  14228.          error condition occurs.
  14229.  
  14230. See also PUTSCR, CLRSCR
  14231.  
  14232. Example  GETSCR  ;save screen level 1
  14233.          - - -   ;process
  14234.          GETSCR  ;save screen level 2
  14235.          - - -   ;process
  14236.          CLRSCR  ;clear the screen
  14237.          - - -   ;do more script commands
  14238.          PUTSCR  ;restore screen level 2
  14239.          - - -   ;process
  14240.          PUTSCR  ;restore screen level 1
  14241.  
  14242.  
  14243.  
  14244.  
  14245. 230                                           Scripts Operation Manual
  14246.  
  14247.  
  14248.  
  14249.  
  14250.  
  14251.    NOTE:  The  above   example  demonstrate   2-deep  GETSCR/PUTSCR
  14252.           nesting.
  14253.  
  14254.  
  14255. ______________________________________________________________________
  14256. GETX
  14257. ______________________________________________________________________
  14258. Function Read data  from both  the local keyboard and the COM port and
  14259.          storing it in a variable.
  14260.  
  14261. Declaration    GETX  KBCOMDATA  COUNT  CHARACTER
  14262.  
  14263. Remarks  Input:     KBD and COM port
  14264.          Output:    Screen and COM port
  14265.  
  14266.          GETX captures  incoming keyboard  and COM  data and stores it
  14267.          into the  KBCOMDATA variable.  CHARACTER terminates the input
  14268.          in addition to [ENTER].
  14269.  
  14270.          Unlike other  GET commands  which require  a carriage  return
  14271.          <CR> to  indicate  the  end  of  the  input,  GETX  his  will
  14272.          terminate when one of the following conditions is met:
  14273.          
  14274.          CHARACTER is found in the input data,
  14275.          COUNT characters have been received, or
  14276.          [ENTER] has been received.
  14277.  
  14278.          If online checking is enabled with the TURNON ONLINE command,
  14279.          GETX will  check the  modem for  an ONLINE condition.  If the
  14280.          connection is  lost (IE.,  carrier drop),  the variable  will
  14281.          contain the  string "_OFFLINE_",  regardless of  the value in
  14282.          COUNT.
  14283.  
  14284. See also GET, GETR, GETN, GETNR, INKEY
  14285.  
  14286. Example  ;Let's assume that you are logging into an information
  14287.          ;service.  After logon, the service sends you a message
  14288.          ;that tells how many new messages there are to read.
  14289.          ;You want to capture just the number for later use in
  14290.          ;the script.  The message is in the following form:
  14291.          ;"NEW MESSAGES (xxx)" where xxx is the number.
  14292.  
  14293.          WAITFOR "MESSAGES ("  ;look for beginning of number
  14294.          GETX 0 4 )            ;grab up to 4 characters or
  14295.                                ;until the ")" character.
  14296.  
  14297.  
  14298.  
  14299.  
  14300.  
  14301.  
  14302.  
  14303. Version 4.0                                                        231
  14304.  
  14305.  
  14306.  
  14307.  
  14308.  
  14309. ______________________________________________________________________
  14310. GOSUB
  14311. ______________________________________________________________________
  14312. Function Call a subroutine at a specified LABEL.
  14313.  
  14314. Declaration    GOSUB  LABEL
  14315.  
  14316. Remarks  GOSUB passes  control to  a routine  identified by its LABEL.
  14317.          Upon completion,  the routine  must use  a RETURN command, at
  14318.          which  time  script  execution  resumes  with  the  statement
  14319.          immediately following  the GOSUB.  GOSUB/RETURN may be nested
  14320.          up to a maximum of 20 levels.
  14321.  
  14322.  
  14323. Restrictions   SCRIPT commands and GOSUB/RETURN share a single nesting
  14324.          process.   Together, they may not exceed 20 nesting levels in
  14325.          any combination.
  14326.  
  14327. See also GOTO, RETURN, EXIT
  14328.  
  14329. Example  GOSUB SUB1    ;call the SUB1 subroutine
  14330.          EXIT          ;end the script
  14331.  
  14332.          SUB1:         ;the subroutine SUB1
  14333.          - - -         ;script commands
  14334.          RETURN        ;end of subroutine
  14335.                        ;will branch back to the EXIT statement
  14336.  
  14337.  
  14338. ______________________________________________________________________
  14339. GOTO
  14340. ______________________________________________________________________
  14341. Function Unconditional branch to a LABEL in the script.
  14342.  
  14343. Declaration    GOTO  LABEL
  14344.  
  14345. Remarks  GOTO passes  control to  the  routine  identified  by  LABEL.
  14346.          Control cannot  be returned  by the  routine  which  was  the
  14347.          target of the GOTO.
  14348.  
  14349. See also GOSUB, RETURN, EXIT
  14350.  
  14351. Example  GOTO SUB1       ;jump to SUB1
  14352.          BACKHERE:       ;
  14353.          EXIT            ;end the script
  14354.  
  14355.          SUB1:           ;the subroutine SUB1
  14356.          - - -           ;script commands
  14357.          GOTO BACKHERE   ;end of subroutine.  go back up
  14358.  
  14359.  
  14360.  
  14361. 232                                           Scripts Operation Manual
  14362.  
  14363.  
  14364.  
  14365.  
  14366.  
  14367. ______________________________________________________________________
  14368. GOTOXY
  14369. ______________________________________________________________________
  14370. Function Locate the cursor at a known screen position.
  14371.  
  14372. Declaration    GOTOXY  COL  ROW
  14373.  
  14374. Remarks  COL and ROW are explicit numeric values or variables and must
  14375.          contain valid logical screen coordinates.  If coordinates are
  14376.          invalid, the cursor will not be re-positioned.
  14377.  
  14378. See also BOX, WINDOW
  14379.  
  14380. Example  GOTOXY 1 1        ;homes the cursor
  14381.          GOTOXY 80 24      ;puts cursor in lower right corner
  14382.  
  14383.          WINDOW 1 1 80 14  ;set a new window dimension
  14384.          GOTOXY 40 20      ;FAILS, not inside the window
  14385.  
  14386.  
  14387. ______________________________________________________________________
  14388. GRAPHICS
  14389. ______________________________________________________________________
  14390. Function Change Terminal Emulation mode.
  14391.  
  14392. Declaration    GRAPHICS  EMULATION
  14393.  
  14394. Remarks  GRAPHICS changes  the terminal  protocol to that specified in
  14395.          the EMULATION  variable.   It is the script equivalent of the
  14396.          Alt-G command.  EMULATION must be one of the following:
  14397.  
  14398.          TTY   No Emulation
  14399.          ANSI  Internal ANSI driver (compatible with ANSI.SYS)
  14400.          VT100 DEC VT100 terminal (no VT52 support)
  14401.  
  14402.    NOTE:  The screen will clear when executing this command.
  14403.  
  14404. Example  GRAPHICS TTY     ;switch to TTY mode
  14405.          GRAPHICS VT100   ;switch to VT100 mode.
  14406.  
  14407.  
  14408. ______________________________________________________________________
  14409. HANGUP
  14410. ______________________________________________________________________
  14411. Function Return the  modem  on  Hook  (Terminate  the  current  online
  14412.          session).
  14413.  
  14414. Declaration    HANGUP
  14415.  
  14416.  
  14417.  
  14418.  
  14419. Version 4.0                                                        233
  14420.  
  14421.  
  14422.  
  14423.  
  14424.  
  14425. Remarks  HANGUP is  the script  equivalent of  the Alt-H command.  The
  14426.          modem hangup  command is  sent and the connection, if any, is
  14427.          terminated.
  14428.  
  14429. Example  WAITFOR "COMMAND"  ;wait for the command prompt
  14430.          SEND    "G^M"      ;send the [G]oodbye command
  14431.          HANGUP             ;disconnect
  14432.  
  14433.  
  14434. ______________________________________________________________________
  14435. IF
  14436. ______________________________________________________________________
  14437. Function Conditional branch based on the result of a test.
  14438.  
  14439. Declaration    IF  STRING1  OPCODE  STRING2  LABEL (type 1)
  14440.          IF  CONDITION  LABEL (type 2)
  14441.  
  14442. Remarks  Type 1:
  14443.  
  14444.          If the  result of  the test  defined by  OPCODE is  true, the
  14445.          script will branch to the routine called LABEL. Valid OPCODEs
  14446.          are:
  14447.  
  14448.          OPCODE  Test Performed
  14449.  
  14450.          =       If string1 equals string2, goto label
  14451.          <       If string1 less than string2, goto label
  14452.          >       If string1 greater than string2, goto label
  14453.          <=      If string1 less than  or equal to string2, goto label
  14454.          >=      If string1 greater than or equal string2, goto label
  14455.          <>      If string1 not equal to string2, goto label
  14456.  
  14457.          If STRING1  and STRING2  contain numeric  values,  a  numeric
  14458.          comparison is  performed.   If either is non-numeric, the two
  14459.          strings are compared based on their ASCII character values.
  14460.  
  14461.          Type 2:
  14462.  
  14463.          IF checks  for a  specific condition  and branch  to LABEL if
  14464.          true.  Valid conditions are:
  14465.  
  14466.          $ONLINE         ;if Online, goto label
  14467.          $OFFLINE   ;if Offline, goto label
  14468.          $SUCCESS   ;if last operation was successful, goto label
  14469.          $FAIL      ;if last operation failed, goto label
  14470.  
  14471.          $ONLINE and $OFFLINE reflect the status of the carrier detect
  14472.          (CD) signal.   The ONLINE/OFFLINE indicator is also displayed
  14473.          on the Qmodem status line.
  14474.  
  14475.  
  14476.  
  14477. 234                                           Scripts Operation Manual
  14478.  
  14479.  
  14480.  
  14481.  
  14482.  
  14483.          The $SUCCESS  and $FAIL  indicators are  set by the following
  14484.          commands:
  14485.  
  14486.          UPLOAD, UPLD, DOWNLOAD, DOWNLD, CHDIR, DRIVE and HANGUP.
  14487.  
  14488.          The state  of $SUCCESS  or $FAIL  must be set by one of these
  14489.          commands before the indicators can be checked.  Once set, the
  14490.          state remains  the same  until it  is changed  again  by  the
  14491.          completion of  another eligible command.  Referring to either
  14492.          variable before it is set yields unpredictable results.
  14493.  
  14494.  
  14495. Examples IF '$0' = 'YES' Yes_Label  ;if $0 = YES, goto
  14496. (type 1)                            ;  Yes_Label
  14497.          IF "$0" = ""    Nul_Label  ;if $0 is empty, goto
  14498.                                     ;  Nul_Label
  14499.  
  14500. (type 2) IF $ONLINE Skip_Dial  ;go around dial if ONLINE
  14501.          DIAL "1"              ;dial if offline.
  14502.          Skip_Dial:            ;continue...
  14503.  
  14504.          S1:                   ;a label
  14505.          DOWNLOAD X TEST.DOC   ;download a file
  14506.          IF $FAIL S1           ;if failed, go try again
  14507.  
  14508.  
  14509. ______________________________________________________________________
  14510. INCR
  14511. ______________________________________________________________________
  14512. Function Increment a numeric variable.
  14513.  
  14514. Declaration    INCR  NUMVAR
  14515.  
  14516. Remarks  INCR adds 1 to the value of a numeric variable.  If the value
  14517.          before the  INCR command  was 32767, the variable will be set
  14518.          to zero.
  14519.  
  14520. Restrictions   If NUMVAR  contains non-numeric  data, a  script  error
  14521.          will occur.
  14522.  
  14523. See also DECR
  14524.  
  14525. Example  ASSIGN 0 0             ;load $0 with 0
  14526.          LOOP:
  14527.          DISPLAY "$0"           ;show it.
  14528.          INCR 0                 ;now increment it.
  14529.          IF '$0' >= '10' DONE   ;loop until done
  14530.          GOTO LOOP
  14531.          DONE:
  14532.  
  14533.  
  14534.  
  14535. Version 4.0                                                        235
  14536.  
  14537.  
  14538.  
  14539.  
  14540.  
  14541. ______________________________________________________________________
  14542. INKEY
  14543. ______________________________________________________________________
  14544. Function Reads a single character from the keyboard or COM port.
  14545.  
  14546. Declaration    INKEY  INDATA
  14547.  
  14548. Remarks  INKEY reads  a single character from the COM port or keyboard
  14549.          (whichever is  received first)  and stores it into the INDATA
  14550.          variable.   Any keystroke  or COM  data is  valid and [ENTER]
  14551.          does not have to be pressed for the script to continue.  This
  14552.          command is useful to select menu options, for example.
  14553.  
  14554. See also GET, GETR, GETN, GETNR
  14555.  
  14556. Example  DISPLAYLN "MENU"
  14557.          DISPLAYLN " "
  14558.          DISPLAYLN "    A)  Call The Forbin BBS"
  14559.          DISPLAYLN "    B)  Call GEnie"
  14560.          DISPLAYLN "    C)  Call it a day"
  14561.          DISPLAYLN " "
  14562.          DISPLAY   "   ?"
  14563.          TOP:
  14564.          INKEY 0             ;Store result in $0
  14565.          IF "$0" < "A" TOP   ;Try again
  14566.          IF "$0" > "C" TOP   ;if not a valid choice
  14567.                              ;Now $0 is either A, B or C.
  14568.  
  14569.  
  14570. ______________________________________________________________________
  14571. LOADFON
  14572. ______________________________________________________________________
  14573. Function Load a new Phone Book into memory.
  14574.  
  14575. Declaration    LOADFON  FONFILE
  14576.  
  14577. Remarks  LOADFON loads  a new  Qmodem phone  book.   It is  the script
  14578.          equivalent of the Alt-D/L command.  FONFILE should be a word,
  14579.          string, or variable containing a fully qualified DOS filename
  14580.          with the  .FON extension.  If the drive and path are omitted,
  14581.          the current  directory is  searched.    Refer  to  the  Alt-D
  14582.          command  for   additional   information   on   Qmodem   phone
  14583.          directories.
  14584.  
  14585. Restrictions   The FILENAME  must end  with the  .FON extension  or an
  14586.          error will occur.
  14587.  
  14588. See also DIAL
  14589.  
  14590.  
  14591.  
  14592.  
  14593. 236                                           Scripts Operation Manual
  14594.  
  14595.  
  14596.  
  14597.  
  14598.  
  14599. Example  LOADFON  C:\QMODEM\PCP.FON     ;load a new FON file
  14600.          LOADFON  C:\QMODEM\QMODEM.FON  ;reload the original
  14601.  
  14602.  
  14603. ______________________________________________________________________
  14604. LOADKEY
  14605. ______________________________________________________________________
  14606. Function Load a new Alt-J Macro KEY file.
  14607.  
  14608. Declaration    LOADKEY  KEYFILE
  14609.  
  14610. Remarks  LOADKEY loads  a new  Function  Key  Macro  definition  file,
  14611.          making 48  new F-Key macros available to the script.  KEYFILE
  14612.          should be  a word,  string, or  string variable  containing a
  14613.          fully qualified DOS filename with the .KEY extension.  If the
  14614.          drive  and   path  are  omitted,  the  current  directory  is
  14615.          searched.
  14616.  
  14617. Restrictions   the FILENAME  must end  in a .KEY extension or an error
  14618.          occurs.
  14619.  
  14620. See also FKEY
  14621.  
  14622. Example  FKEY 1                   ;send out the current F1 macro
  14623.          LOADKEY NEW.KEY          ;load a new KEY file
  14624.          FKEY 1                   ;send out a different F1 macro
  14625.  
  14626.          LOADKEY C:\QMODEM\1.KEY  ;load still another KEY file
  14627.  
  14628.  
  14629. ______________________________________________________________________
  14630. LOG
  14631. ______________________________________________________________________
  14632. Function Open a LOG file to track Qmodem activity.
  14633.  
  14634. Declaration    LOG  LOGFILE
  14635.  
  14636. Remarks  LOG opens  a Qmodem  Log file  to which activity is recorded.
  14637.          LOG is  the script  equivalent of  the Alt-0 command.  Please
  14638.          refer to  the Alt-0  documentation for further information on
  14639.          the Qmodem Log file feature.
  14640.  
  14641.          LOGFILE is  a word, string, or string variable containing any
  14642.          valid DOS  filename.   If the file exists, data will be added
  14643.          to it.   If  the file  does not exist, the script will create
  14644.          it.
  14645.  
  14646.          To disable  the Logging  feature in a script, use the TURNOFF
  14647.          LOG command.
  14648.  
  14649.  
  14650.  
  14651. Version 4.0                                                        237
  14652.  
  14653.  
  14654.  
  14655.  
  14656.  
  14657. See also STAMP, TURNOFF
  14658.  
  14659. Example  LOG  PHONELOG.DAT   ;start logging to file Phonelog.Dat
  14660.          - - -               ;more scripts commands, some of
  14661.                              ;which will be logged
  14662.          TURNOFF LOG         ;close the log file
  14663.  
  14664.  
  14665. ______________________________________________________________________
  14666. NOTE
  14667. ______________________________________________________________________
  14668. Function Display a  message on  the screen  and log  it in the Capture
  14669.          file if open.
  14670.  
  14671. Declaration    NOTE  TEXT
  14672.  
  14673. Remarks  NOTE displays  the TEXT  string on  the  screen.  If  Session
  14674.          Capture is active, TEXT is also recorded in the capture file.
  14675.          If the  cursor is  not in column 1, then a CR/LF precedes the
  14676.          TEXT to  be  displayed,  forcing  the  cursor  to  the  first
  14677.          position of the next line.
  14678.  
  14679.          Unlike other  text display  commands, the  TEXT string is NOT
  14680.          bound by  quotes.   The string  starts immediately  after the
  14681.          first space following the NOTE command and ends with the last
  14682.          character on  the line  (or  the  semicolon  which  starts  a
  14683.          comment field).
  14684.  
  14685. See also CAPTURE, DISPLAY, DISPLAYLN
  14686.  
  14687. Example  NOTE This is a test of the note command    ;comment1
  14688.  
  14689.  
  14690. ______________________________________________________________________
  14691. OPENFILE
  14692. ______________________________________________________________________
  14693. Function Open a sequential TEXT file for input or output.
  14694.  
  14695. Declaration    OPENFILE  FILENAME  READ|REWRITE|APPEND
  14696.  
  14697. Remarks  OPENFILE opens  a standard  ASCII  text  file  for  input  or
  14698.          output.   FILENAME must  be a  valid DOS  filename.  Only one
  14699.          file may be open at a time.
  14700.  
  14701.          Parameters:
  14702.  
  14703.          READ
  14704.          Opens the file for INPUT with the READFILE command.
  14705.  
  14706.  
  14707.  
  14708.  
  14709. 238                                           Scripts Operation Manual
  14710.  
  14711.  
  14712.  
  14713.  
  14714.  
  14715.          REWRITE
  14716.          Opens the  file for OUTPUT with the WRITEFILE command. If the
  14717.          file exists,  its contents are erased and its length is reset
  14718.          to zero.  If the file does not exist, it is created.
  14719.  
  14720.          APPEND
  14721.          Opens the  file for  OUTPUT and positions the file pointer to
  14722.          the end  of the  file.    All  data  written  will  be  added
  14723.          sequentially at the end of the file.
  14724.  
  14725. Restrictions   Only one file can be open at a time.
  14726.  
  14727. See also CLOSEFILE, READFILE, WRITEFILE
  14728.  
  14729. Example  CLRSCR
  14730.          NOTE       Testing FILE I/O
  14731.          NOTE       Clearing the file
  14732.          OPENFILE   testfile   rewrite     ;open the file
  14733.          ASSIGN     1 0                    ;set $1 = "0"
  14734.          NOTE Writing to the file
  14735.  
  14736.          T:
  14737.          WRITEFILE $1                  ;write $1 to the file
  14738.          IF        "$1" = "100" cl     ;is $1 = 100? jump to CL:
  14739.          DISPLAY   "$1 "               ;display the counter
  14740.          INCR 1                        ;increment $1
  14741.          GOTO t                        ;loop and write again
  14742.  
  14743.          CL:
  14744.          CLOSEFILE                     ;close the file
  14745.          OPENFILE  testfile   read     ;re-open for Reading
  14746.          NOTE Reading from the file
  14747.  
  14748.          READING:
  14749.          READFILE  0                    ;read first line into $0
  14750.          DISPLAY   "$0, "               ;show it
  14751.          IF        "$0" = "_EOF_" done  ;Is it EOF?  goto DONE
  14752.          GOTO      READING              ;loop and read another
  14753.  
  14754.          DONE:
  14755.          CLOSEFILE                      ;close the file and
  14756.          EXIT                           ;exit
  14757.  
  14758.  
  14759. ______________________________________________________________________
  14760. PAUSE
  14761. ______________________________________________________________________
  14762. Function Pause a script for a specified amount of time.
  14763.  
  14764. Declaration    PAUSE  PAUSEVAL
  14765.  
  14766.  
  14767. Version 4.0                                                        239
  14768.  
  14769.  
  14770.  
  14771.  
  14772.  
  14773. Remarks  PAUSE is similar to DELAY, but normal screen and keyboard I/O
  14774.          are not  suspended.  PAUSEVAL is an explicit numeric value or
  14775.          variable containing  the length  of the delay in milliseconds
  14776.          (1000 =  1 second).   This  command is  useful when  building
  14777.          menus or displaying online help.
  14778.  
  14779. Restrictions   PAUSEVAL must be in the range 1-32767.
  14780.  
  14781. See also DELAY
  14782.  
  14783. Example  PAUSE 100      ;stops for 1 tenth of a second
  14784.          PAUSE 1000     ;stops for 1 second
  14785.          PAUSE 10000    ;stops for 10 seconds
  14786.  
  14787.  
  14788. ______________________________________________________________________
  14789. POP
  14790. ______________________________________________________________________
  14791. Function Remove the  top entry  from the  stack  and  store  it  in  a
  14792.          variable.
  14793.  
  14794. Declaration    POP  VARIABLE
  14795.  
  14796. Remarks  POP is  used to  retrieve a  value which  was PUSHed onto the
  14797.          "stack".   The stack  is an area of memory which can store up
  14798.          to  60 values  (IE, text, number, etc...).
  14799.  
  14800.          The stack  operates in LIFO mode (Last-In, First-Out).  Thus,
  14801.          a POP  command retrieves  the item which was last PUSHed onto
  14802.          the stack.   Retrieving  a  value  other  than  the  top  one
  14803.          requires multiple POP commands.
  14804.  
  14805.          POPping an  empty stack  returns a NULL string (zero length).
  14806.          PUSHing a full stack yields a script error.
  14807.  
  14808. See also PUSH
  14809.  
  14810.  
  14811.  
  14812.  
  14813.  
  14814.  
  14815.  
  14816.  
  14817.  
  14818.  
  14819.  
  14820.  
  14821.  
  14822.  
  14823.  
  14824.  
  14825. 240                                           Scripts Operation Manual
  14826.  
  14827.  
  14828.  
  14829.  
  14830.  
  14831. Example  POP 0    ;POP stack into $0.  $0 will be NULL
  14832.                   ;because of no previous PUSH
  14833.  
  14834.          ASSIGN 0 0               ;set $0 to zero
  14835.          TOP:                     ;set a label TOP
  14836.          INCR 0                   ;increment $0
  14837.          NOTE This is $$0 [$0]    ;display the value of $0
  14838.          PUSH $0                  ;PUSH it on the stack
  14839.          IF "$0" = "10" POPSTACK  ;test for value of 10
  14840.          GOTO TOP                 ;loop back
  14841.  
  14842.          POPSTACK:                ;10 numbers on stack now
  14843.          POP 1                    ;POP the stack into $1
  14844.          NOTE This is $$1 [$1]    ;display the value of $1
  14845.          IF "$1" <> "" POPSTACK   ;If not NULL, get another
  14846.  
  14847.          NOTE Done.               ;now we're done
  14848.          EXIT
  14849.                                                                       
  14850.                                                                       
  14851. ______________________________________________________________________
  14852. PORT
  14853. ______________________________________________________________________
  14854. Function Switch to a different COM port.
  14855.  
  14856. Declaration    PORT  PORTNUM
  14857.  
  14858. Remarks  PORT switches  the active  COM port.   PORTNUM ia an explicit
  14859.          numeric value  or variable  in the  range 1-8.   If  the port
  14860.          selected is  valid,  the  current  port  is  closed,  DTR  is
  14861.          dropped, the  new port is opened with the same COM parameters
  14862.          as the old port and DTR is raised.
  14863.  
  14864.          PORT is the script equivalent of the Alt-K command.
  14865.  
  14866.          This command  can be  used to detect the active COM port (the
  14867.          port to which the modem is connected).
  14868.  
  14869. Restrictions   Valid COM ports must be defined in Setup (Alt-N/M/P).
  14870.  
  14871.  
  14872.  
  14873.  
  14874.  
  14875.  
  14876.  
  14877.  
  14878.  
  14879.  
  14880.  
  14881.  
  14882.  
  14883. Version 4.0                                                        241
  14884.  
  14885.  
  14886.  
  14887.  
  14888.  
  14889. Example  ;
  14890.          ; This assumes a Hayes or compatible modem
  14891.          ;
  14892.          TIMEOUT 2 TRY2      ;
  14893.          PORT    1           ; select COM1 first
  14894.          SEND    "AT^M"      ; send the ATtention command
  14895.          WAITFOR "OK"        ; look for the response
  14896.          GOTO    ON-LINE!   ; if successful, jump!
  14897.  
  14898.          TRY2:               ; next label
  14899.          TIMEOUT 2 ERROR
  14900.          PORT    2           ; select COM2
  14901.          SEND    "AT^M"      ; send the ATtention command
  14902.          WAITFOR "OK"        ; look for the response
  14903.          GOTO    ON-LINE!    ; if successful, jump!
  14904.  
  14905.          ERROR:              ; modem not found
  14906.          NOTE    No Modem
  14907.          EXIT
  14908.  
  14909.          ON-LINE!:           ; we found the modem so lets
  14910.                              ; do something!
  14911.  
  14912.  
  14913. ______________________________________________________________________
  14914. PUSH
  14915. ______________________________________________________________________
  14916. Function Place an item on the top of the stack.
  14917.  
  14918. Declaration    PUSH  TEXT
  14919.  
  14920. Remarks  PUSH stores an INTEGER, WORD, STRING or VARIABLE onto the top
  14921.          of the  stack. TEXT  can be  retrieved  later  with  the  POP
  14922.          command.   Please refer  to the  POP command  for  additional
  14923.          details, restrictions, and code example.
  14924.  
  14925. See also POP
  14926.  
  14927. Example  See the POP command.
  14928.  
  14929.  
  14930. ______________________________________________________________________
  14931. PUTSCR
  14932. ______________________________________________________________________
  14933. Function Restores a screen previously saved with GETSCR.
  14934.  
  14935. Declaration    PUTSCR
  14936.  
  14937. Remarks  PUTSCR works  in conjunction  with the  GETSCR command,  in a
  14938.          manner very similar to the PUSH and POP command pair.
  14939.  
  14940.  
  14941. 242                                           Scripts Operation Manual
  14942.  
  14943.  
  14944.  
  14945.  
  14946.  
  14947.          PUTSCR restores  the screen  which was  saved by  the  GETSCR
  14948.          command at  the same  nesting level.    The  entire  physical
  14949.          screen is  restored, as opposed to the logical screen defined
  14950.          with a BOX or WINDOW command.
  14951.  
  14952. Restrictions   Results are  unpredictable if a previous GETSCR has not
  14953.          been executed prior to the PUTSCR command.  GETSCR/PUTSCR may
  14954.          be nested up to three levels.
  14955.  
  14956. See also GETSCR
  14957.  
  14958. Example  GETSCR    ;save the current screen
  14959.          CLRSCR    ;clear the screen
  14960.          - - -     ;do more script commands
  14961.          PUTSCR    ;restore the previously saved screen
  14962.  
  14963.  
  14964. ______________________________________________________________________
  14965. READFILE
  14966. ______________________________________________________________________
  14967. Function Read a record from a text file.
  14968.  
  14969. Declaration    READFILE  INDATA
  14970.  
  14971. Remarks  READFILE command  reads one line of text from the file opened
  14972.          with the  OPENFILE command  and stores  it  into  the  INDATA
  14973.          variable.   See the  OPENFILE command  for an explanation and
  14974.          example.
  14975.  
  14976. Restrictions   The Text  file must  have been  opened  with  the  READ
  14977.          option or a script error occurs.
  14978.  
  14979. See also CLOSEFILE, OPENFILE, WRITEFILE
  14980.  
  14981.  
  14982. ______________________________________________________________________
  14983. RETURN
  14984. ______________________________________________________________________
  14985. Function Return from a GOSUB or SCRIPT command.
  14986.  
  14987. Declaration    RETURN
  14988.  
  14989. Remarks  RETURN returns  control to  the statement  which  immediately
  14990.          follows the GOSUB or SCRIPT command through which the routine
  14991.          received control.
  14992.  
  14993.          If there was no previous GOSUB or SCRIPT, RETURN behaves like
  14994.          an EXIT  command.  To  unconditionally  terminate  a  script,
  14995.          always use the EXIT command.
  14996.  
  14997.  
  14998.  
  14999. Version 4.0                                                        243
  15000.  
  15001.  
  15002.  
  15003.  
  15004.  
  15005. See also GOSUB, SCRIPT
  15006.  
  15007. Example  GOSUB SUB1    ;call the SUB1 subroutine
  15008.          EXIT          ;end the script
  15009.  
  15010.          SUB1:         ;the subroutine SUB1
  15011.          - - -         ;script commands
  15012.          RETURN        ;end of subroutine
  15013.                        ;will branch back to the EXIT statement
  15014.  
  15015.  
  15016. ______________________________________________________________________
  15017. SCRIPT
  15018. ______________________________________________________________________
  15019. Function Call another script as a subroutine.
  15020.  
  15021. Declaration    SCRIPT  SCRFILE
  15022.  
  15023. Remarks  SCRIPT passes control to the script identified in SCRFILE and
  15024.          operates identically  to the  GOSUB command.  If  the  script
  15025.          being called  includes a  RETURN command,  execution  of  the
  15026.          calling script  will resume  with the statement following the
  15027.          SCRIPT command.   SCRFILE should be the name of a script file
  15028.          stored in the directory specified in Setup (Alt-N/D/S).
  15029.  
  15030. Restrictions   Up to  40 levels  of SCRIPT  and GOSUB  commands may be
  15031.          nested.
  15032.  
  15033. See also GOSUB, RETURN
  15034.  
  15035. Example  ; .....Script ONE.SCR.....      ;a comment line
  15036.          NOTE Executing Script ONE.SCR   ;display a note
  15037.          SCRIPT TWO.SCR                  ;call another script
  15038.          NOTE Back in ONE.SCR            ;display a note
  15039.          SCRIPT THREE.SCR                ;call another script
  15040.          NOTE Back in ONE.SCR            ;display a note
  15041.          EXIT                            ;halt execution
  15042.  
  15043.  
  15044.          ; .....Script TWO.SCR.....      ;comment line
  15045.          NOTE Executing Script TWO.SCR
  15046.          SCRIPT THREE.SCR                ;call another script
  15047.          NOTE Back in TWO.SCR
  15048.          RETURN                    ;return to previous script
  15049.  
  15050.  
  15051.          ; .....Script THREE.SCR.....    ;comment line
  15052.          NOTE Executing Script THREE.SCR
  15053.          RETURN                    ;return to previous script
  15054.  
  15055.  
  15056.  
  15057. 244                                           Scripts Operation Manual
  15058.  
  15059.  
  15060.  
  15061.  
  15062.  
  15063.          The output  of these  three  scripts  (provided  ONE.SCR  was
  15064.          executed first) will be:
  15065.  
  15066.          Executing Script ONE.SCR
  15067.          Executing Script TWO.SCR
  15068.          Executing Script THREE.SCR
  15069.          Back in TWO.SCR
  15070.          Back in ONE.SCR
  15071.          Executing Script THREE.SCR
  15072.          Back in ONE.SCR
  15073.  
  15074.  
  15075. ______________________________________________________________________
  15076. SEND
  15077. ______________________________________________________________________
  15078. Function Send data to the COM port.
  15079.  
  15080. Declaration    SEND  STRING
  15081.  
  15082. Remarks  The text  specified by  STRING is  sent to  the COM  port and
  15083.          displayed on the local screen.  The cursor will be positioned
  15084.          after the last character in STRING.
  15085.  
  15086. Example  SEND "^M"             ;send a carriage return ([ENTER])
  15087.          SEND "^~^~ ^~ ^~ ^M"  ;pause one second followed by
  15088.                                ;3 spaces at .5 second each and
  15089.                                ;then [ENTER]
  15090.  
  15091.          ASSIGN 0 "^~^~ ^~ ^~ ^M"    ;put the above string in $0
  15092.          SEND $0                     ;send it
  15093.  
  15094.          SEND "$Password^M"   ;send Password stored in the
  15095.                               ;dialing directory only after a
  15096.                               ;valid connect.
  15097.  
  15098.  
  15099. ______________________________________________________________________
  15100. SETCOMM   
  15101. ______________________________________________________________________
  15102. Function Change the current COM port settings.
  15103.  
  15104. Declaration    SETCOMM  PARAMETER  [PARAMETER..]
  15105.  
  15106. Remarks  SETCOMM is  the script  equivalent of  the Alt-P command.  At
  15107.          least one  parameter is required; parameters may be specified
  15108.          in any order.  If two conflicting parameters are entered (IE,
  15109.          SETCOMM AB), the last parameter takes precedence.
  15110.  
  15111.  
  15112.  
  15113.  
  15114.  
  15115. Version 4.0                                                        245
  15116.  
  15117.  
  15118.  
  15119.  
  15120.  
  15121.          Valid parameters are:
  15122.  
  15123.                A|300     300   baud
  15124.                B|1200    1200  baud
  15125.                C|2400    2400  baud
  15126.                D|4800    4800  baud
  15127.                E|9600    9600  baud
  15128.                F|19200   19200 baud
  15129.                G|38400   38400 baud
  15130.                H|EVEN    Even  parity
  15131.                I|ODD     Odd   parity
  15132.                J|NONE    No    parity
  15133.                K|7       7     data bits
  15134.                L|8       8     data bits
  15135.                M|1       1     stop bit
  15136.                N|2       2     stop bits
  15137.  
  15138. Example  SETCOMM CJLM    ;sets 2400-N-8-1
  15139.          SETCOMM 9600    ;change only the baud rate to 9600
  15140.  
  15141.  
  15142. ______________________________________________________________________
  15143. STAMP
  15144. ______________________________________________________________________
  15145. Function Write a string to the LOG file.
  15146.  
  15147. Declaration    STAMP  TEXT
  15148.  
  15149. Remarks  STAMP is  similar  to  NOTE,  but  the  TEXT  string  is  not
  15150.          displayed on  the screen.   TEXT  is stored into the LOG file
  15151.          (if open).  Any text following the STAMP keyword is "logged".
  15152.  
  15153. See also NOTE
  15154.  
  15155. Example  NAME_LABEL:
  15156.          WRITELN "                 [-------26-chars-max-------]"
  15157.          WRITE   "Enter your name ? "
  15158.          GETR    NAME 26
  15159.          IF      "$NAME" = "" NAME_LABEL       ;check for null
  15160.          IF      "$NAME" = "_OFFLINE_" CYCLE   ;check offline
  15161.          STAMP ****************************
  15162.          STAMP User [$NAME] Logged On
  15163.  
  15164.          could add the following two lines to the LOG file:
  15165.  
  15166.          10:37:33  04/10/87  STAMP ****************************
  15167.          10:37:33  04/10/87  STAMP User [Sysop] Logged On
  15168.  
  15169.  
  15170.  
  15171.  
  15172.  
  15173. 246                                           Scripts Operation Manual
  15174.  
  15175.  
  15176.  
  15177.  
  15178.  
  15179. ______________________________________________________________________
  15180. STRING
  15181. ______________________________________________________________________
  15182. Function Define one or more variable(s)
  15183.  
  15184. Declaration    STRING  VARIABLE  [VARIABLE...]
  15185.  
  15186. Remarks  Up to  60 variables  can be  defined with the STRING command.
  15187.          New variables  are referenced  by  prefixing  them  with  "$"
  15188.          (except where noted).
  15189.  
  15190. Restrictions   Variables are  stored in  the order  in which they were
  15191.          defined.   All user-defined  variable names must start with a
  15192.          letter.
  15193.  
  15194.          If two  or more  variable  names  share  the  same  beginning
  15195.          characters, define  the longest  name first.  Otherwise, only
  15196.          the shortest name will be recognized.
  15197.  
  15198.          For example,  let's define three new variables called $A, $AA
  15199.          and $AAA.   To  be able  to reference all three, they must be
  15200.          defined as follows:
  15201.  
  15202.          STRING  AAA, AA, A
  15203.  
  15204. See also ASSIGN
  15205.  
  15206. Example  STRING THIS THAT OTHER         ;create three variables
  15207.          ASSIGN THIS "NEW TEST"         ;put "NEW TEST" in $THIS
  15208.          NOTE [$THIS] [$THAT] [$OTHER]  ;display their values
  15209.  
  15210.          would display:
  15211.  
  15212.          [NEW TEST] [] []
  15213.  
  15214.  
  15215. ______________________________________________________________________
  15216. SYSTEM
  15217. ______________________________________________________________________
  15218. Function Stop the script and exit Qmodem.
  15219.  
  15220. Declaration    SYSTEM  X|Y
  15221.  
  15222. Remarks  SYSTEM  unconditionally  halts  script  execution  and  exits
  15223.          Qmodem.  It is the script equivalent of the Alt-X command.
  15224.  
  15225. See also EXIT, RETURN
  15226.  
  15227.  
  15228.  
  15229.  
  15230.  
  15231. Version 4.0                                                        247
  15232.  
  15233.  
  15234.  
  15235.  
  15236.  
  15237. Example  SYSTEM X    ;exit Qmodem with DTR left High
  15238.          SYSTEM Y    ;exit Qmodem with DTR dropped
  15239.  
  15240.  
  15241. ______________________________________________________________________
  15242. TIMEOUT
  15243. ______________________________________________________________________
  15244. Function Set a WAITFOR timeout value and optional routine label.
  15245.  
  15246. Declaration    TIMEOUT  TIMEVAL [LABEL]
  15247.  
  15248. Remarks  TIMEOUT controls  the length  of time  WAITFOR commands  will
  15249.          wait for  a text  string.   TIMEVAL is  an explicit  value or
  15250.          numeric variable  containing the  timeout delay (in seconds).
  15251.          If LABEL is specified, the script will branch to that routine
  15252.          when the  timeout delay  expires.   If LABEL  is omitted, the
  15253.          script will terminate with a timeout error.
  15254.  
  15255. See also WAITFOR
  15256.  
  15257. Example  TIMEOUT 3 AGAIN    ;set timer to 3 seconds, label AGAIN
  15258.          AGAIN:             ;here's the label
  15259.          SEND "ATZ^M"       ;send modem reset command
  15260.          WAITFOR "OK"       ;if OK is not seen in 3 seconds,
  15261.                             ;  goto the label AGAIN (try again)
  15262.  
  15263.  
  15264. ______________________________________________________________________
  15265. TURNOFF
  15266. TURNON
  15267. ______________________________________________________________________
  15268. Function Change Qmodem operating parameters.
  15269.  
  15270. Declaration    TURNOFF  KEYWORD  [KEYWORD...]
  15271.          TURNON   KEYWORD  [KEYWORD...]
  15272.  
  15273. Remarks  TURNON and  TURNOFF are  ON/OFF switches for Qmodem functions
  15274.          or facilities  which can affect the operation of Qmodem, even
  15275.          after the script has terminated.
  15276.  
  15277.          Following is  the list  of valid  TURNON/TURNOFF keywords and
  15278.          the equivalent  terminal mode  command.  The third and fourth
  15279.          columns indicate whether the keyword can be used with TURNOFF
  15280.          and TURNON.  The fifth column provides a brief description of
  15281.          the keyword.
  15282.  
  15283.  
  15284.  
  15285.  
  15286.  
  15287.  
  15288.  
  15289. 248                                           Scripts Operation Manual
  15290.  
  15291.  
  15292.  
  15293.  
  15294.  
  15295.          Keyword  Cmd     OFF    ON     Action
  15296.          -------  ------  ---   -- -----------------------------------
  15297.          8_BIT    Alt-8   x  x  8 bit mode
  15298.          BS_DEL   Alt-1   x  x  Mode of the Backspace key,
  15299.                                    On: BS=DEL   Off: BS=^H
  15300.          CAPTURE  ^Home   x     Off only.  Closes Capture file if open
  15301.          CASE             x  x  Case sensitivity of WHEN and WAITFOR
  15302.          ECHO     Alt-E   x  x  Local Echo mode (duplex)
  15303.          LINEFEED ShftTab x  x  Controls adding LF's to incoming CR's
  15304.          LOG      Alt-0   x     Off only.  Closes the LOG file if open
  15305.          MUSIC    Alt-M   x  x  ANSI Music mode
  15306.          NOISE    Alt-B   x  x  Beeps & Bells (on or off)
  15307.          ONLINE           x  x  State of carrier detection
  15308.                                    for the GET Script commands
  15309.          PRINT    ^PrtSc  x  x  Local print echo mode
  15310.          SCROLL   Alt-U   x  x  Scroll-back capture mode
  15311.          SPLIT    Alt-S   x  x  Split screen mode on or off
  15312.          XON/XOFF Alt-Z   x  x  XON/XOFF flow control mode
  15313.  
  15314. Example  TURNON  8_BIT NOISE XON/XOFF
  15315.          TURNOFF MUSIC ECHO LINEFEED
  15316.          CAPTURE C:\QMODEM\CAP.TXT   ;turn on the capture file
  15317.          TURNOFF CAPTURE             ;close the capture file
  15318.          TURNOFF LOG                 ;nothing happens, not open
  15319.  
  15320.  
  15321. ______________________________________________________________________
  15322. UPLOAD
  15323. ______________________________________________________________________
  15324. Function Send a file to the other computer.
  15325.  
  15326. Declaration    UPLOAD  PROTOCOL  FILENAME  [ASCII OPTION...]
  15327.  
  15328. Remarks  UPLOAD performs  two basic types of file transfers; ASCII and
  15329.          non-ASCII.   FILENAME must be a fully qualified DOS filename,
  15330.          or the file  must be located in the current directory.
  15331.  
  15332.          Valid protocols are:
  15333.  
  15334.                A    ASCII
  15335.                X    Xmodem
  15336.                C    Xmodem CRC
  15337.                R    Relaxed Xmodem
  15338.                O    Xmodem-1K
  15339.                F    Xmodem-1K/G
  15340.                Y    Ymodem Batch
  15341.                G    Ymodem/G Batch
  15342.  
  15343.  
  15344.  
  15345.  
  15346.  
  15347. Version 4.0                                                        249
  15348.  
  15349.  
  15350.  
  15351.  
  15352.  
  15353.          All external protocols (defined with Alt-N/P) are also valid.
  15354.  
  15355.          For ASCII  uploads, additional parameters may be specified to
  15356.          override the Setup (Alt-N/P/A/T) defaults.
  15357.  
  15358.          Following are the valid ASCII upload options:
  15359.  
  15360.          PACECH=[NONE|character]   
  15361.          Specifies a  "pacing character" which must be received before
  15362.          the next  ASCII record  (IE,, text  line) is sent.  The first
  15363.          line of the file is always sent regardless of this setting.
  15364.  
  15365.          PACESPEED=[nnnn]
  15366.          The delay, in milliseconds (1000 = 1 second) inserted between
  15367.          each character sent.
  15368.  
  15369.          XLATE=[ON/OFF]
  15370.          Specifies whether  the outgoing  file is (ON) or is not (OFF)
  15371.          to be  translated with  the output  translate table (Alt-A-2)
  15372.          prior to being sent.
  15373.  
  15374.          CR=[NONE/STRIP/ADDLF]
  15375.          Defines carriage-return  (CR) handling.  This is normally not
  15376.          needed unless  the receiving  computer does not recognize the
  15377.          standard CR character (ASCII 13).
  15378.  
  15379.          LF=[NONE/STRIP/ADDCR]
  15380.          Defines LineFeed  (LF) handling.  Similar to  CR, but affects
  15381.          the LF character (ASCII 10).
  15382.  
  15383.          EXPAND=[ON/OFF]
  15384.          If ON, adds a leading space to null lines (which contain only
  15385.          a CR/LF  pair) so  that there  is a leading SPACE.  This is a
  15386.          useful feature  when uploading  messages to most BBS systems,
  15387.          which interpret a null line as and end-of-message indication.
  15388.  
  15389.          EOLCH=[nnn]
  15390.          Defines the  ASCII value of the End-Of-Line character.  It is
  15391.          very important  to set  this parameter correctly.  Since most
  15392.          ASCII files  end each  line with  a CR/LF  sequence,  the  LF
  15393.          character should be defined as the EOLCH (LF is ASCII 10).
  15394.  
  15395. See also UPLD, DOWNLOAD, DNLD
  15396.  
  15397.  
  15398.  
  15399.  
  15400.  
  15401.  
  15402.  
  15403.  
  15404.  
  15405. 250                                           Scripts Operation Manual
  15406.  
  15407.  
  15408.  
  15409.  
  15410.  
  15411. Example  UPLOAD O QMODEM.ARC  ;send the file QMODEM.ARC using
  15412. non-ASCII                      ;Xmodem-1K.  The file must be in
  15413.                               ;the current directory
  15414.  
  15415.          UPLOAD X C:\AUTOEXEC.BAT  ;upload the autoexec.bat file
  15416.                                    ;from the C: root directory
  15417.                                    ;using Xmodem
  15418.  
  15419.  
  15420. Example  SEND    "^M"                ;send a carriage return
  15421. ASCII    WAITFOR "Command"           ;look for the command line
  15422.          SEND    "E^M"               ;command to enter a message
  15423.          WAITFOR "To [Enter]=all?"
  15424.          SEND    "Sysop^M"           ;to the Sysop
  15425.          WAITFOR "Subject:?"
  15426.          SEND    "A Private msg^M"   ;the msg description
  15427.          WAITFOR "Security:"
  15428.          SEND    "R^M"               ;Receiver only
  15429.  
  15430.          UPLOAD A TEST.DOC PACECH=: EXPAND=ON EOLCH=10
  15431.                 ;upload a text file to a PCB BBS
  15432.                 ; and use the colon as the pace char
  15433.          SEND   "^M^~^~S^M"
  15434.                 ;tell the board to save the msg
  15435.  
  15436.  
  15437. ______________________________________________________________________
  15438. UPLD
  15439. ______________________________________________________________________
  15440. Function Send a file to the other computer (short form).
  15441.  
  15442. Declaration    UPLD  PROTOCOL  FILENAME  [ASCII OPTION...]
  15443.  
  15444. Remarks  UPLD is  functionally identical  to UPLOAD.   Rather  than  a
  15445.          status window,  UPLD displays  transfer  information  on  the
  15446.          status line.
  15447.  
  15448.          Please refer to the UPLOAD command for complete information.
  15449.  
  15450.  
  15451. ______________________________________________________________________
  15452. WAITFOR
  15453. ______________________________________________________________________
  15454. Function Wait for a specific string to be received.
  15455.  
  15456. Declaration    WAITFOR  STRING
  15457.  
  15458.  
  15459.  
  15460.  
  15461.  
  15462.  
  15463. Version 4.0                                                        251
  15464.  
  15465.  
  15466.  
  15467.  
  15468.  
  15469. Remarks  WAITFOR waits  for the  defined text string to be received on
  15470.          the COM port.  WAITFOR will wait the amount of time specified
  15471.          in the  last TIMEOUT  command.   If no  TIMEOUT  command  was
  15472.          issued, a default of 60 seconds is used.
  15473.          
  15474.          Each WAITFOR  command may  have a corresponding TIMEOUT value
  15475.          for explicit control of timing and error conditions.  If this
  15476.          method is  selected,   all WAITFOR  commands should  have  an
  15477.          associated TIMEOUT  command   This will  minimize  unexpected
  15478.          errors (such as an incorrect branch).
  15479.  
  15480. See also TIMEOUT
  15481.  
  15482. Example  TIMEOUT 3 AGAIN    ;set timer to 3 seconds, label AGAIN
  15483.          AGAIN:             ;here's the label
  15484.          SEND "ATZ^M"       ;send modem reset command
  15485.          WAITFOR "OK"       ;if OK is not seen in 3 seconds,
  15486.                             ;  goto the label AGAIN (try again)
  15487.  
  15488.  
  15489. ______________________________________________________________________
  15490. WAITUNTIL
  15491. ______________________________________________________________________
  15492. Function Wait for a specified time before continuing.
  15493.  
  15494. Declaration    WAITUNTIL  TIME
  15495.  
  15496. Remarks  WAITUNTIL suspends  script execution until a specific time of
  15497.          day.   TIME must  be in  24-hour clock format (HH:MM:SS) with
  15498.          00:00:00 being  midnight.   WAITUNTIL is  the script's  alarm
  15499.          clock.
  15500.  
  15501.          While WAITUNTIL is in effect, the target TIME and the current
  15502.          system time  are displayed  side by side until they match, at
  15503.          which  time  the  script  resumes  execution  with  the  next
  15504.          command.
  15505.  
  15506. See also DELAY, PAUSE
  15507.  
  15508. Example  WAITUNTIL 04:00:00   ;wait till 4 a.m.
  15509.          DIAL "1 2 3 4"       ;dial the numbers
  15510.          WAITUNTIL 24:00:00   ;will never get past this, because
  15511.                               ;24hr time does not have 24:00:00
  15512.  
  15513.  
  15514.  
  15515.  
  15516.  
  15517.  
  15518.  
  15519.  
  15520.  
  15521. 252                                           Scripts Operation Manual
  15522.  
  15523.  
  15524.  
  15525.  
  15526.  
  15527. ______________________________________________________________________
  15528. WHEN
  15529. ______________________________________________________________________
  15530. Function Allows searching  for alternate text strings while WAITFOR is
  15531.          active.
  15532.  
  15533. Declaration    WHEN  STRING1 STRING2  (type 1)
  15534.          WHEN  STRING1 LABEL    (type 2)
  15535.          WHEN                   (type 3)
  15536.  
  15537. Remarks  WHEN may only be used while a WAITFOR is active.
  15538.  
  15539.          WHEN (Type 1) sends STRING2 when STRING1 is received
  15540.  
  15541.          WHEN (Type 2) branches to LABEL when STRING1 is received.
  15542.  
  15543.          WHEN (Type 3) immediately cancels all active WHEN commands.
  15544.  
  15545.          WHEN can be used in a logon (linked) script for systems which
  15546.          change certain  prompts depending  on when  you last  called.
  15547.          PCBoard, for  example, changes  prompts if you call more than
  15548.          once during the same day.
  15549.  
  15550.          A maximum  of 10  WHEN statements  can be active at one time.
  15551.          WHEN statements  remain  active  until  they  are  explicitly
  15552.          canceled by  a blank  WHEN, and  are  not  subjected  to  the
  15553.          TIMEOUT restrictions which affect WAITFOR commands.
  15554.  
  15555. See also WAITFOR
  15556.  
  15557. Example  WHEN
  15558.          WHEN "Press (Enter) to continue?"     "^M"
  15559.          WHEN "MUSIC? (Enter)=no?"             "N Q^M"
  15560.          WHEN "What is your first name?"       "John Friel PS^M"
  15561.          WHEN "MAILBOX for your mail?"         "N^M"
  15562.          WHEN "Conference members (Enter)=no?" "N^M"
  15563.          WHEN "More (Y), (N), (NS)"            "N^M"
  15564.          WHEN "Enter Language #"               "^M"
  15565.          WHEN "(H)elp, More?"                  "N^M"
  15566.          WHEN "ENTER to continue"              "N^M"
  15567.  
  15568.          WAITFOR  "Main Board Command?"
  15569.          DELAY    100
  15570.          WHEN
  15571.          
  15572.          The first WHEN (Type 3) clears any pending WHEN commands. The
  15573.          following WHEN  (Type 1)  commands identify all logon prompts
  15574.          and their  respective responses.   With this method, only one
  15575.          WAITFOR is needed; WHEN commands handle all others prompts.
  15576.  
  15577.  
  15578.  
  15579. Version 4.0                                                        253
  15580.  
  15581.  
  15582.  
  15583.  
  15584.  
  15585. ______________________________________________________________________
  15586. WINDOW
  15587. ______________________________________________________________________
  15588. Function Create a logical screen with user defined dimensions.
  15589.  
  15590. Declaration    WINDOW  C1  R1  C2  R2
  15591.  
  15592. Remarks  WINDOW creates  a  logical  screen  window.  Unlike  the  BOX
  15593.          command, WINDOW  does not  cause a  frame to  be drawn on the
  15594.          screen.   For additional information, please refer to the BOX
  15595.          command.
  15596.  
  15597. Restrictions   See the BOX command.
  15598.  
  15599. See also BOX, CLRSCR, GETSCR, PUTSCR
  15600.  
  15601. Example  WINDOW 1 1 80 24   ;window the full size of the screen
  15602.          WINDOW 20 4 60 8   ;window 40 cols wide by 4 lines high
  15603.  
  15604.  
  15605. ______________________________________________________________________
  15606. WRITE
  15607. ______________________________________________________________________
  15608. Function Send text to the COM port without a CR/LF.
  15609.  
  15610. Declaration    WRITE  STRING
  15611.  
  15612. Remarks  WRITE sends  text data  to the  COM port,  but does not add a
  15613.          CR/LF at  the end  of the string. This is useful when sending
  15614.          prompts to  insure that  the cursor remains on the same line.
  15615.          The WRITELN  command is  similar, but adds a CR/LF at the end
  15616.          of the string.
  15617.  
  15618. See also WRITELN, DISPLAY, DISPLAYLN, SEND
  15619.  
  15620. Example  WRITELN "                       [------------]"
  15621.          WRITE   "Enter your first name ? "
  15622.          GETR    F_NAME 12
  15623.          WRITELN " "
  15624.          WRITELN "                       [--------------------]"
  15625.          WRITE   "Enter your last name  ? "
  15626.          GETR    L_NAME 20
  15627.          WRITELN " "
  15628.          WRITELN "                       [------------]"
  15629.          WRITE   "Enter your password   ? "
  15630.          GETR    P_WORD 12
  15631.  
  15632.          
  15633.  
  15634.  
  15635.  
  15636.  
  15637. 254                                           Scripts Operation Manual
  15638.  
  15639.  
  15640.  
  15641.  
  15642.  
  15643.          The following will be displayed on the receiving computer:
  15644.  
  15645.                                 [------------]
  15646.          Enter your first name ? JOHN
  15647.  
  15648.                                 [--------------------]
  15649.          Enter your last name  ? FRIEL III
  15650.  
  15651.                                 [------------]
  15652.          Enter your password   ? PASSWORD
  15653.  
  15654.  
  15655. ______________________________________________________________________
  15656. WRITELN
  15657. ______________________________________________________________________
  15658. Function Send text out the COM port with a CR/LF.
  15659.  
  15660. Declaration    WRITELN  STRING
  15661.  
  15662. Remarks  WRITELN is the CR/LF version of the WRITE command.
  15663.  
  15664. See also WRITE, DISPLAY, DISPLAYLN, SEND
  15665.  
  15666. Example  WRITELN "                       [------------]"
  15667.          WRITE   "Enter your first name ? "
  15668.          GETR    F_NAME 12
  15669.          WRITELN " "
  15670.          WRITELN "                       [--------------------]"
  15671.          WRITE   "Enter your last name  ? "
  15672.          GETR    L_NAME 20
  15673.          WRITELN " "
  15674.          WRITELN "                       [------------]"
  15675.          WRITE   "Enter your password   ? "
  15676.          GETR    P_WORD 12
  15677.  
  15678.  
  15679.          The following will be displayed on the receiving computer:
  15680.          
  15681.  
  15682.                                 [------------]
  15683.          Enter your first name ? JOHN
  15684.  
  15685.                                 [--------------------]
  15686.          Enter your last name  ? FRIEL III
  15687.  
  15688.                                 [------------]
  15689.          Enter your password   ? PASSWORD
  15690.  
  15691.  
  15692.  
  15693.  
  15694.  
  15695. Version 4.0                                                        255
  15696.  
  15697.  
  15698.  
  15699.  
  15700.  
  15701. ______________________________________________________________________
  15702. WRITEFILE
  15703. ______________________________________________________________________
  15704. Function Write a line to a text file.
  15705.  
  15706. Declaration    WRITEFILE  WORD|STRING|VARIABLE
  15707.  
  15708. Remarks  WRITEFILE writes  a word,  string, or  string variable to the
  15709.          file opened by the OPENFILE command.
  15710.  
  15711. Restrictions   OPENFILE with  the REWRITE  or APPEND  option must have
  15712.          been issued first.
  15713.  
  15714. See also CLOSEFILE, OPENFILE, READFILE
  15715.  
  15716. Example  See the OPENFILE command for an explanation and example.
  15717.  
  15718.  
  15719.  
  15720.  
  15721.  
  15722.  
  15723.  
  15724.  
  15725.  
  15726.  
  15727.  
  15728.  
  15729.  
  15730.  
  15731.  
  15732.  
  15733.  
  15734.  
  15735.  
  15736.  
  15737.  
  15738.  
  15739.  
  15740.  
  15741.  
  15742.  
  15743.  
  15744.  
  15745.  
  15746.  
  15747.  
  15748.  
  15749.  
  15750.  
  15751.  
  15752.  
  15753. 256                                           Scripts Operation Manual
  15754.  
  15755.  
  15756.  
  15757.  
  15758.  
  15759. Error Messages
  15760. ______________________________________________________________________
  15761.  
  15762. CAPTURE Filename not found
  15763.      
  15764.      The CAPTURE  command expected  a WORD parameter and it was either
  15765.      missing or a STRING was specified.
  15766.      
  15767.      
  15768. DOWNLOAD Filename expected
  15769.      
  15770.      The command  was not  followed by  any text or the following text
  15771.      was not a WORD.
  15772.      
  15773.      
  15774. DRIVE Letter A..Z expected
  15775.      
  15776.      The DRIVE  command did not receive a character between A and Z as
  15777.      a parameter.
  15778.      
  15779.      
  15780. EGA value must be 25, 43 or 50
  15781.      
  15782.      The value  passed to the EGA command was not 24, 43 or 50.  Use a
  15783.      correct value.
  15784.      
  15785.      
  15786. ERROR opening FILE
  15787.      
  15788.      An error occurred in OPENFILE  Check the filename and correct.
  15789.      
  15790.      
  15791. ERROR Opening Script File
  15792.      
  15793.      The script  file was  found, but  could not be opened.  Make sure
  15794.      the file is not locked in a network environment.
  15795.      
  15796.      
  15797. ERROR reading from FILE
  15798.      
  15799.      An error occurred in a READFILE command.  Make sure that the file
  15800.      contains valid data.
  15801.      
  15802.      
  15803. ERROR writing to FILE
  15804.      
  15805.      An error  occurred in a WRITEFILE command.  Make sure the file is
  15806.      not locked  by a  network or  multi-tasker, and  that you are not
  15807.      running out of disk space,  and try again.
  15808.      
  15809.      
  15810.  
  15811. Version 4.0                                                        257
  15812.  
  15813.  
  15814.  
  15815.  
  15816.  
  15817. File already open
  15818.      
  15819.      Two  OPENFILE   commands  were   issued  without  an  intervening
  15820.      CLOSEFILE.  Only one file may be opened at a time.
  15821.      
  15822.      
  15823. FILE not open
  15824.      
  15825.      READFILE or  WRITEFILE was issued before the file was opened with
  15826.      OPENFILE.   Check the script logic.
  15827.      
  15828.      
  15829. FILE not open for READ
  15830.      
  15831.      READFILE was  issued against a file opened for REWRITE or APPEND.
  15832.      The file must be opened for READ.
  15833.      
  15834.      
  15835. FILE not open for WRITE/APPEND
  15836.      
  15837.      WRITEFILE was  issued against  a file  opened for READ.  The file
  15838.      must be opened for WRITE or APPEND.
  15839.      
  15840.      
  15841. FKEY Filename does not exist
  15842.      
  15843.      The filename specified in the LOADKEY command does not exist.
  15844.      
  15845.      
  15846. FLUSH keyword not KBD, COM or ALL
  15847.      
  15848.      The FLUSH  command requires the keyword KBD, COM or ALL.  Correct
  15849.      and re-try.
  15850.      
  15851.      
  15852. FON Filename does not exist
  15853.      
  15854.      The filename specified in the LOADFON command does not exist.
  15855.      
  15856.      
  15857. GETSCR Nested too deep
  15858.      
  15859.      GETSCR/PUTSCR commands  can be  nested 3-deep.   A 4th GETSCR was
  15860.      detected without a corresponding PUTSCR.
  15861.      
  15862.      
  15863.  
  15864.  
  15865.  
  15866.  
  15867.  
  15868.  
  15869. 258                                           Scripts Operation Manual
  15870.  
  15871.  
  15872.  
  15873.  
  15874.  
  15875. GRAPHICS Keyword not found
  15876.      
  15877.      GRAPHICS was  issued without a  parameter or with an invalid one.
  15878.      Correct and re-try.
  15879.      
  15880.      
  15881. Insufficient space for String
  15882.      
  15883.      STRING memory  (defined in  Alt-N/O/M/S) is  exhausted.  Increase
  15884.      the memory  allocation, exit  and restart  Qmodem, and re-run the
  15885.      script.
  15886.      
  15887.      
  15888. INTEGER expected
  15889.      
  15890.      The command  expected an  INTEGER value  (-32768 to  32767).  The
  15891.      variable or string was null or contained non-integer data.
  15892.      
  15893.      
  15894. INTEGER value required for INCR or DECR
  15895.      
  15896.      The VARIABLE  argument in an INCR or DECR command did not contain
  15897.      an integer  value.   Check script  logic and  ASSIGN commands and
  15898.      insure that numeric data is stored into the variable.
  15899.      
  15900.      
  15901. Invalid IF Opcode
  15902.      
  15903.      The IF  command requires  one of 6 comparison Opcodes.  Make sure
  15904.      the Opcode is correct and that necessary quotes are used.
  15905.      
  15906.      
  15907. Invalid KEYWORD or TOKEN
  15908.      
  15909.      The first  word in  the line  was not  a valid  KEYWORD,  or  the
  15910.      KEYWORD was passed the wrong type of data.
  15911.      
  15912.      
  15913. Invalid LABEL or misplaced Colon
  15914.      
  15915.      A colon ":" was found at the beginning of a line.  This may be an
  15916.      invalid LABEL  or the colon needs to be changed to a semicolon if
  15917.      the line contains a comment.
  15918.      
  15919.      
  15920. INVALID OPENFILE mode
  15921.      
  15922.      An invalid  parameter  followed  the  OPENFILE  command.    Valid
  15923.      OPENFILE parameters  are READ, REWRITE, or APPEND.
  15924.      
  15925.      
  15926.  
  15927. Version 4.0                                                        259
  15928.  
  15929.  
  15930.  
  15931.  
  15932.  
  15933. Invalid Substitute VARIABLE
  15934.      
  15935.      The specified  VARIABLE name  was  not  found.    Make  sure  the
  15936.      variable is defined with a STRING command before using it.
  15937.      
  15938.      
  15939. Invalid UPLOAD keyword or keyword option
  15940.      
  15941.      One of  the ASCII  UPLOAD keywords  was misspelled or contains an
  15942.      invalid parameter.  Correct the keyword(s) and parameters and re-
  15943.      try.
  15944.      
  15945.      
  15946. LABEL not found
  15947.      
  15948.      A LABEL  was not found.  Check the script for a possible omission
  15949.      or misspelling and try again.
  15950.      
  15951.      
  15952. Line too long
  15953.      
  15954.      A script  line exceeds  254 character.   Edit the Script and make
  15955.      sure lines are less than 254 characters.
  15956.      
  15957.      
  15958. LOADFON Filename not found
  15959.      
  15960.      LOADFON expected  a WORD parameter.  The parameter was missing or
  15961.      a STRING was specified instead.
  15962.      
  15963.      
  15964. LOADKEY Filename not found
  15965.      
  15966.      LOADKEY expected  a WORD parameter.  The parameter was missing or
  15967.      a STRING was specified instead.
  15968.      
  15969.      
  15970. LOG Filename not found
  15971.      
  15972.      The LOG  command expected  a WORD  parameter and  it  was  either
  15973.      missing or a STRING was specified.
  15974.      
  15975.      
  15976. Off Screen Coordinates
  15977.      
  15978.      The Row  and/or Column argument(s) of a GOTOXY command was (were)
  15979.      invalid. Since  GOTOXY is  limited by BOX/WINDOW boundaries, make
  15980.      sure you  reset any WINDOW or BOX commands before assuming a full
  15981.      80x25 screen.
  15982.      
  15983.      
  15984.  
  15985. 260                                           Scripts Operation Manual
  15986.  
  15987.  
  15988.  
  15989.  
  15990.  
  15991. ON or OFF parameter expected
  15992.      
  15993.      The DEBUG  command can  only be  followed by  the WORD ON or OFF.
  15994.      Correct and re-try.
  15995.      
  15996.      
  15997. PORT selection invalid
  15998.      
  15999.      PORT expects  a WORD  in the range 1 to 8.  It was either missing
  16000.      out of range.
  16001.      
  16002.      
  16003. RETURN SCRIPT Filename not found
  16004.      
  16005.      A Calling  script was  not found when a RETURN command was issued
  16006.      (IE, it  was deleted  or renamed).   Execution  cannot  continue.
  16007.      Check to be sure you are not deleting/renaming the calling script
  16008.      by accident.
  16009.      
  16010.      
  16011. SCRIPT Filename not found
  16012.      
  16013.      A called  SCRIPT  file  was  not  found.    THE  script  filename
  16014.      parameter was missing, or the file could not be located.
  16015.      
  16016.      
  16017. SCRIPT/GOSUB nested too deep
  16018.      
  16019.      SCRIPT and/or  GOSUB commands  were nested  more than  40 levels.
  16020.      Some serious thought needs to be put into the script(s) to reduce
  16021.      the levels of nesting.
  16022.      
  16023.      
  16024. SETCOMM Keyword or Letter expected
  16025.      
  16026.      An invalid parameter was used in a SETCOMM command.
  16027.      
  16028.      
  16029. STRING expected
  16030.      
  16031.      A command  required a STRING, but it was either missing or a WORD
  16032.      was specified.
  16033.      
  16034.      
  16035. STRING length 0
  16036.      
  16037.      A null string was used.  The string must be at least 1 character.
  16038.      
  16039.      
  16040.  
  16041.  
  16042.  
  16043. Version 4.0                                                        261
  16044.  
  16045.  
  16046.  
  16047.  
  16048.  
  16049. STRING not defined
  16050.      
  16051.      The string  variable used  in a  command was not defined.  Define
  16052.      the variable with the STRING command and try again.
  16053.      
  16054.      
  16055. STRING VARIABLE expected
  16056.      
  16057.      A string  variable command  parameter was missing, misspelled, or
  16058.      not defined.
  16059.      
  16060.      
  16061. Substitute Line too long
  16062.      
  16063.      String variable  substitution yielded  a  line  longer  than  254
  16064.      characters.   Use additional WRITE/DISPLAY/SEND commands to break
  16065.      up the line into shorter ones.
  16066.      
  16067.      
  16068. SYSTEM parameter not "Y" or "X"
  16069.      
  16070.      "X" or  "Y" are  the only  valid arguments of the SYSTEM command.
  16071.      Correct and try again.
  16072.      
  16073.      
  16074. Target LABEL cannot be a KEYWORD
  16075.      
  16076.      A reserved  script keyword  was used as a label.  Correct and try
  16077.      again.
  16078.      
  16079.      
  16080. Too many PUSHes
  16081.      
  16082.      More than  40 values  were PUSHed  onto  the  stack  without  any
  16083.      intervening POPs.
  16084.      
  16085.      
  16086. Too many WHEN's defined
  16087.      
  16088.      The maximum  of 10  WHEN commands  were active  and an additional
  16089.      WHEN was  issued.  Use a blank WHEN command to clear unused WHENs
  16090.      and try again.
  16091.      
  16092.      
  16093. TURNOFF Keywords(s) not found
  16094.      
  16095.      A TURNOFF keyword was missing or invalid.
  16096.      
  16097.  
  16098.  
  16099.  
  16100.  
  16101. 262                                           Scripts Operation Manual
  16102.  
  16103.  
  16104.  
  16105.  
  16106.  
  16107. TURNON Keyword(s) not found
  16108.      
  16109.      A TURNON keyword was missing or invalid.
  16110.      
  16111.      
  16112. UPLOAD Filename does not Exist
  16113.      
  16114.      The UPLOAD  filename did  not exist.  Verify the filename and try
  16115.      again.
  16116.      
  16117.      
  16118. UPLOAD Filename expected
  16119.      
  16120.      The FILENAME argument of the UPLOAD command was not a WORD or was
  16121.      missing.
  16122.      
  16123.      
  16124. WORD expected
  16125.      
  16126.      A WORD  argument was expected, but it was missing or a STRING was
  16127.      used.
  16128.      
  16129.      
  16130. WORD or LABEL expected
  16131.      
  16132.      A WORD  or LABEL  argument was  expected, but it was missing or a
  16133.      STRING was used.
  16134.      
  16135.      
  16136. WORD or STRING expected
  16137.      
  16138.      A WORD  or string argument was expected, but was not found.  This
  16139.      is usually caused by a missing parameter.
  16140.  
  16141.  
  16142.  
  16143.  
  16144.  
  16145.  
  16146.  
  16147.  
  16148.  
  16149.  
  16150.  
  16151.  
  16152.  
  16153.  
  16154.  
  16155.  
  16156.  
  16157.  
  16158.  
  16159. Version 4.0                                                        263
  16160.  
  16161.  
  16162.  
  16163.  
  16164.  
  16165.             
  16166.  
  16167.  
  16168.  
  16169.  
  16170.  
  16171. Appendix A - Most asked Questions or problems and their solutions
  16172. ______________________________________________________________________
  16173.  
  16174. Question: When I  start up Qmodem, the Online/Offline indicator in the
  16175.           status line always says ONLINE?  Why?
  16176.  
  16177. Answer:   The modem  is sending a signal back to Qmodem saying that it
  16178.           is connected  to another  computer.   On  Hayes  modems  and
  16179.           clones that   use  the '&'  (ampersand)  extended  commands,
  16180.           there is  usually a  command that  controls the  CD (carrier
  16181.           detect) signal.  The default mode (unfortunately) is for the
  16182.           CD to be on all the time.
  16183.  
  16184.           This makes Qmodem think it is ONLINE.  To make things right,
  16185.           send the  following command  to  your  modem  from  Qmodem's
  16186.           terminal mode:
  16187.  
  16188.                               AT&C1<enter>
  16189.  
  16190.           You will  have to  check your  modem manual  to verify  this
  16191.           command in case it is not quite 100% Hayes compatible.
  16192.  
  16193.           Modems this is known to cure:
  16194.  
  16195.                Hayes 2400            (all models)
  16196.                Hayes V-Series        (all models)
  16197.                Practical Peripherals (all models)
  16198.                Anchor Automation Patriot 2400i
  16199.  
  16200.           Some modems,  as  in  the  case  of  the  Courier  HST  from
  16201.           USRobotics has  a switch which by default has Carrier forced
  16202.           true.   Switch number 6 is DOWN from the factory and must be
  16203.           set to  UP to  work correctly.   Running  the HST20.SCR will
  16204.           bring this fact to light.
  16205.  
  16206.  
  16207.  
  16208. Question: I make  changes to  the Dialing  Directory but  they are not
  16209.           saved.
  16210.  
  16211. Answer:   Changes made  to the dialing directory are saved by pressing
  16212.           the F10  key.   Please take a look at the status line on the
  16213.           bottom of  your screen,  which clearly  indicates  that  F10
  16214.           saves changes, while ESC aborts changes
  16215.  
  16216.           As  changes   in  Qmodem   operating  procedures  are  made,
  16217.           explanatory displays  are updated  to reflect  them.  Please
  16218.  
  16219.  
  16220.  
  16221.  
  16222.  
  16223. 264                                                         Appendix A
  16224.  
  16225.  
  16226.  
  16227.  
  16228.  
  16229.           look at  the  screen  more  closely  when  you  encounter  a
  16230.           problem; the  solution may be a few lines away and will save
  16231.           you a telephone call to us in the process.
  16232.  
  16233.  
  16234. Question: Why does  Qmodem turn  on HALF  Duplex after  I connect to a
  16235.           BBS?  What controls the Duplex mode?
  16236.  
  16237. Answer:   There are  four factors  which affect  Half and  Full Duplex
  16238.           (echo):
  16239.  
  16240.           1.   The modem  itself is set to echo.  On most modems, ATE1
  16241.           will cause  commands sent  to the modem to be echoed back to
  16242.           the system  while offline only.  ATF0 will set local echo ON
  16243.           after the  connection has  been established.   Usually, ECHO
  16244.           OFF is the modem default.
  16245.  
  16246.           2.   Doing ALT-E causes Qmodem itself to provide local echo.
  16247.  
  16248.           3.   Local Qmodem  echo can  be  set  in  the  Qmodem  phone
  16249.           directory.   Alt-D, then O to see the alternate screen.  The
  16250.           last column  on the  right  is  the  Duplex  mode  for  that
  16251.           directory entry.   Once  you connect,  you will  get echo if
  16252.           that column  contains a "H".  Change it to "F" and press F10
  16253.           to save the changed directory entry.
  16254.  
  16255.           4.   The Script  commands TURNON  ECHO and  TURNOFF ECHO can
  16256.           also play a role in setting the local echo.  This is usually
  16257.           the one  everyone overlooks!   Check those Linked Scripts in
  16258.           the dialing  directory to  see if these are set wrong.  This
  16259.           is the  last place  usually to  look, but  it will pay to be
  16260.           sure!
  16261.  
  16262.  
  16263. Question: My HST  modem does  not connect  with 1200  or 2400  non-MNP
  16264.           modems.   Either nothing happens, even though the connection
  16265.           is made, or I get a VOICE return from the modem.
  16266.  
  16267. Answer:   The HST  always tries  to determine  if  it  is  talking  to
  16268.           another HST  first, then  if it  is talking  to another  MNP
  16269.           modem.   In some  cases, this  process takes longer than the
  16270.           other  modem's  carrier/training  sequence  (the  high-pitch
  16271.           sound the modem makes when it first answers your call). As a
  16272.           result, the  HST waits forever and eventually times out with
  16273.           a NO CARRIER condition.
  16274.  
  16275.           If you  receive a VOICE return code, but the other modem has
  16276.           in fact  answered the  call, it  is possible that background
  16277.           noise in  the connection  is being interpreted by the HST as
  16278.           voice rather than data.
  16279.  
  16280.  
  16281. Version 4.0                                                        265
  16282.  
  16283.  
  16284.  
  16285.  
  16286.  
  16287.           To correct the first problem, issue an AT&N2 command (if you
  16288.           are calling  a 1200bps  board) or an AT&N3 (2400bps) command
  16289.           while OFFLINE.   The  HST  will  return  an  "OK"  following
  16290.           receipt of  the command.   The  HST will  no longer  try  to
  16291.           determine if it is talking to another HST and will force its
  16292.           link rate to whatever fixed speed you set.
  16293.  
  16294.           If you  KNOW that  the other  modem is non-MNP, you may also
  16295.           use the  AT&M0 command  which effectively disables the HST's
  16296.           MNP capabilities  and makes  it act  exactly like a standard
  16297.           1200/2400 modem  without MNP.   The  combination AT&N2/AT&N3
  16298.           and AT&M0  will eliminate  many of  the problems  you may be
  16299.           experiencing connecting with slower non-MNP modems.
  16300.  
  16301.           To correct  the VOICE  problem, issue the AT&X7 command (the
  16302.           previous setting  was AT&X6  which turns on the HST's voice-
  16303.           recognition circuitry).  This  will  prevent  the  HST  from
  16304.           becoming confused.   However,  it will  also prevent the HST
  16305.           from recognizing legitimate voice answers.
  16306.  
  16307.  
  16308.  
  16309. Question: When dialing  out of  the phone book, Qmodem does not switch
  16310.           baud rates to what was listed in the directory.
  16311.  
  16312. Answer:   This is  directly related to the first Question dealing with
  16313.           the Online  / Offline indicator.  If the indicator is ONLINE
  16314.           when you  go to  dial from  the phone book (Alt-D), the baud
  16315.           rate will  not be  switched because  Qmodem assumes  you are
  16316.           already online!   If  you are Offline, then the baud rate is
  16317.           changed before placing the call.
  16318.  
  16319.  
  16320. Question: I press  ^C or  ^BREAK and I get a ^C in the status line and
  16321.           it will not move until I clear the screen.  Why?
  16322.  
  16323. Answer:   You have  the DOS  BREAK turned  on and  it must  be off  so
  16324.           Qmodem can  effectively trap  the ^C  and handle  it  in  an
  16325.           orderly fashion.   Just  enter  the  following  DOS  command
  16326.           before starting Qmodem:
  16327.  
  16328.                C>BREAK OFF<cr>
  16329.  
  16330.  
  16331.  
  16332. Question: My Hayes 2400B modem will not hang up reliably.
  16333.  
  16334. Answer:   The Hayes  2400B and  many clones come from the factory with
  16335.           the DTR  signal forced  TRUE (always on) and Qmodem wants to
  16336.           control the  DTR signal.    The  most  reliable  method  for
  16337.           hanging up,  it to toggle the DTR signal going to the modem.
  16338.  
  16339. 266                                                         Appendix A
  16340.  
  16341.  
  16342.  
  16343.  
  16344.  
  16345.           On the  Hayes 2400  (and 2400B)  this is done by sending the
  16346.           following command:
  16347.  
  16348.                AT&D2<cr>
  16349.  
  16350.           Then, go  into Setup  (Alt-N/M/M/H) and  change  it  to  the
  16351.           following:
  16352.  
  16353.                DTR
  16354.  
  16355.           Make sure  the letters  are capitalized  and  there  are  no
  16356.           additional characters,  just DTR.   Then  make sure you exit
  16357.           and Save the Configuration (Alt/N/E/S).
  16358.  
  16359.           Now, when you press Alt-H, the modem will hang up!
  16360.  
  16361.  
  16362.  
  16363.  
  16364. Question: What's  Ymodem-G   and  1K-Xmodem-G  and  why  is  it  these
  16365.           protocols do not show up in the protocol window when I do an
  16366.           up/download.  What does it take?
  16367.  
  16368. Answer:   Ymodem-G and 1K-Xmodem-G are protocols which assume that all
  16369.           error corrections are performed by the modem hardware.  Many
  16370.           modems are  now  supporting  the  MNP  (Microcom  Networking
  16371.           Protocol)  error  detection/correction  protocol,  and  most
  16372.           high-speed modems  (IE, the  USR HST  and Hayes  V9600)  use
  16373.           proprietary error  correction techniques  at higher  speeds.
  16374.           If you  have such  a modem, you should activate CTS checking
  16375.           via Setup (Alt-N/O/T/C = ON).
  16376.  
  16377.           This will enable the Ymodem-G and 1K-Xmodem-G protocols.
  16378.  
  16379.           However, these  can only  be used  IF the modem at the other
  16380.           end is similarly equipped and a "reliable" connection is    e
  16381.           stablished between the two modems.
  16382.  
  16383.  
  16384.  
  16385.  
  16386. Question: What are the correct settings for the MultiTech 224E modem?
  16387.  
  16388. Answer:   This is  the modem initialization string you need to send to
  16389.           your modem:
  16390.  
  16391.                AT&F&E1&E4&B1&R1X1V1S11=50S0=0&W0
  16392.  
  16393.           You can  leave the  external switches  set as they come from
  16394.           the factory.  However, you will need to change some switches
  16395.  
  16396.  
  16397. Version 4.0                                                        267
  16398.  
  16399.  
  16400.  
  16401.  
  16402.  
  16403.           inside the  modem. With  the 4-position dip switch should be
  16404.           set as follows:
  16405.  
  16406.           Dip #1 - Down (CTS normal)
  16407.           Dip #2 - UP (factory default)
  16408.           Dip #3 - Up (wait for dial tone dialing)
  16409.           Dip #4 - Down (factory Default)
  16410.  
  16411.           You really  need to  read your manual, but this will get you
  16412.           up and  running...   Be sure  to set  CTS checking  in Setup
  16413.           (Alt-N/O/T/C = ON).
  16414.  
  16415.  
  16416. Question: What is an Error-Correcting modem?
  16417.  
  16418. Answer:   Error-correcting  modems   perform  error   correction   and
  16419.           recovery on  incoming data by themselves.  This is a feature
  16420.           usually implemented  in the  modem's internal firmware (ROM,
  16421.           for example).   The  accepted standard  for  internal  modem
  16422.           error correction  is  MNP  (Microcom  Networking  Protocol),
  16423.           names after the company (Microcom) who developed it.  MNP is
  16424.           not a  "Fixed" standard, it is available in levels 1 thru 6,
  16425.           with  MNP   level  3   being  the  most  commonly  available
  16426.           implementation.
  16427.  
  16428.           For two  modems to  establish an error-free connection, they
  16429.           must both support the same MNP level.  Higher levels of MNP,
  16430.           however, are  compatible with  lower levels of the standard.
  16431.           Two modems  supporting MNP level 3 and communicating at 2400
  16432.           (using the  Bell 2400  standard) should  establish an error-
  16433.           free  connection.     Error-free   connections  are  usually
  16434.           indicated by  the modem's verbal or numeric return code upon
  16435.           connect.
  16436.  
  16437.           A Multitech  MNP-equipped modem  may, for  example, return a
  16438.           CONNECT 2400/RELIABLE  message, while a USRobotics HST modem
  16439.           would  return  a  CONNECT  2400/ARQ  message  upon  connect.
  16440.           Although many high-speed modems (IE, 9600bps and above) from
  16441.           different manufacturers  may support  the same level of MNP,
  16442.           they may use radically different encoding modulation schemes
  16443.           to  yield   high  data  transfer  rates,  which  makes  them
  16444.           incompatible at high speeds.
  16445.  
  16446.           For example,  the Hayes,  Microcom, and  USR 9600 modems all
  16447.           support MNP level 3, but are unable to communicate with each
  16448.           other at  speeds higher than 2400 due to the incompatibility
  16449.           of their  proprietary modulation  techniques.  Most of these
  16450.  
  16451.  
  16452.  
  16453.  
  16454.  
  16455. 268                                                         Appendix A
  16456.  
  16457.  
  16458.  
  16459.  
  16460.  
  16461.           modems will  automatically "fall  back" to  the lower  speed
  16462.           (IE, 2400)  where a reliable error-correcting connection can
  16463.           be made.
  16464.  
  16465.  
  16466.  
  16467. Question: How do I get my Qmodem Registration Number?
  16468.  
  16469. Answer:   This is  going to  be easy!   All  you have  to do  is  type
  16470.           "OPEN 1" at the Main Menu of the Forbin Project BBS and your
  16471.           NAME and  NUMBER will  be shown to you.  Copy these two down
  16472.           *exactly* as  they are displayed by the BBS.  If you want to
  16473.           skip calling our BBS, you can call us during the day and get
  16474.           the same information quickly.
  16475.  
  16476.           Then, next  time you  are at the DOS prompt on your computer
  16477.           you can initiate the Qmodem registration process.
  16478.  
  16479.           Step 1.  (you are at the DOS prompt in the Qmodem directory)
  16480.  
  16481.           Step 2.  type "QMODEM REGISTER<enter>"  (without the quotes)
  16482.  
  16483.           Step 3.   type  in the name *exactly* as it was displayed on
  16484.           the BBS and press <enter>.
  16485.  
  16486.           Step 4.   type  in the  number *exactly* as it was displayed
  16487.           and press <enter>.
  16488.  
  16489.           Step 5.  enjoy your newly registered copy of Qmodem!
  16490.  
  16491.  
  16492.           If you  have a  problem or  any  question,  please  leave  a
  16493.           comment to the Sysop or call us voice at 319-232-4516 during
  16494.           the days.
  16495.  
  16496.  
  16497.  
  16498. Question: Qmodem displays a "memory allocation" window when it starts.
  16499.           What's happening?
  16500.  
  16501. Answer:   You over-allocated memory in the Alt-N/O/M setup menu.  When
  16502.           Qmodem starts, if it does not have sufficient DOS memory, it
  16503.           will re-allocate  the memory  it DOES  find using a best-fit
  16504.           algorithm.   In the  process, it  may reduce  the number  of
  16505.           scroll lines,  script and  editor  memory  allocations,  and
  16506.           download  buffers.     If  this  is  the  case,  the  memory
  16507.           allocation window  will be  displayed to  warn you  of  this
  16508.           condition.
  16509.  
  16510.           If Qmodem  does not  usually display  the memory  allocation
  16511.           window, and  you did  NOT change  memory allocation via Alt-
  16512.  
  16513. Version 4.0                                                        269
  16514.  
  16515.  
  16516.  
  16517.  
  16518.  
  16519.           N/O/M then  it is  likely that  something outside  Qmodem is
  16520.           using up  memory, such  as a  new resident program, a device
  16521.           driver, more  buffers or  more environment  space, etc... To
  16522.           correct  the  condition,  change  your  environment  OUTSIDE
  16523.           Qmodem to what it was.  If you made changes to Qmodem memory
  16524.           allocation, revise  them using  your own best judgment until
  16525.           Qmodem no  longer displays the memory allocation window upon
  16526.           startup.
  16527.  
  16528.  
  16529. Question: I press  [Enter] in  the dialing  directory, but it does not
  16530.           dial the current entry.  It dials another entry.  Why?
  16531.  
  16532. Answer:   You  have   explicitly  tagged  entries  in  the  directory,
  16533.           probably with  the space  bar, and you then moved to another
  16534.           directory location  where no  tagged entries show.  When you
  16535.           press [Enter],  Qmodem dials  tagged entries.  If NO entries
  16536.           are tagged,  then it  dials the  current entry.   There is a
  16537.           tagged entry count displayed at the top of the Alt-D screen.
  16538.           If it is greater than zero, some entries are tagged.
  16539.  
  16540.           To dial  the current number, you must first untag entries by
  16541.           pressing the U key.
  16542.  
  16543.  
  16544. Question: In Qmodem  3.1a I could start the program with any non-blank
  16545.           command-line parameter  to bypass  the opening screen delay.
  16546.           This no longer works in Qmodem 4.0.  What's wrong?
  16547.  
  16548. Answer:   The opening  delay can  no longer be defeated in Qmodem 4.0.
  16549.           Although many  have tried,  the only  known  method  to  get
  16550.           around this  is to  REGISTER your program.  You will receive
  16551.           your own  Qmodem registration  number, and the opening delay
  16552.           will go  away after  the program has been registered to you.
  16553.           Check the program's documentation for registration info.  We
  16554.           appreciate your support.
  16555.  
  16556.  
  16557. Question: I inadvertently  sorted my  directory.  How do I get back to
  16558.           what it was before?
  16559.  
  16560. Answer:   Undo the  sort by  pressing Ctrl-U.   If  you  inadvertently
  16561.           sorted your  directory TWICE,  you're stuck  with  a  sorted
  16562.           directory.  If you wish to experiment with the new directory
  16563.           functions, make  a copy  of your  QMODEM.FON file before you
  16564.           start Qmodem.
  16565.  
  16566.  
  16567.  
  16568.  
  16569.  
  16570.  
  16571. 270                                                         Appendix A
  16572.  
  16573.  
  16574.  
  16575.  
  16576.  
  16577. Question: I created  a logon  script with  QuickLearn and  it does not
  16578.           work.
  16579.  
  16580. Answer:   It  is  likely  that  you  captured  time-  or  environment-
  16581.           dependent information  in the  script.   For example, one of
  16582.           the prompts  captured by  QuickLearn contains  the amount of
  16583.           time left  during your  online session.    Edit  the  script
  16584.           manually to  remove that  part of the prompt.  QuickLearn is
  16585.           quick and  easy, but  it is  not intelligent.    It  records
  16586.           everything that  happens between  you and the other computer
  16587.           and faithfully  replicates it  in the script, warts and all.
  16588.           This can cause problems if prompts change or if they contain
  16589.           information that's  not likely  to be  there -- or that will
  16590.           change -- the next time you call.
  16591.  
  16592.  
  16593. Question: Some of my old scripts don't work.
  16594.  
  16595. Answer:   Qmodem 4.0  has two  major  changes  in  how  it  defines  a
  16596.           carriage return  and a delay.  Previous releases allowed you
  16597.           to use  the {  and ~ characters.  Qmodem 4.0 REQUIRES the ^M
  16598.           as a  carriage return  and the  ^~ as a delay.  A utility is
  16599.           included in  Qmodem 4.0  to convert  old scripts  to the new
  16600.           conventions, we suggest you use it and try again.
  16601.  
  16602.  
  16603.  
  16604.  
  16605.  
  16606.  
  16607.  
  16608.  
  16609.  
  16610.  
  16611.  
  16612.  
  16613.  
  16614.  
  16615.  
  16616.  
  16617.  
  16618.  
  16619.  
  16620.  
  16621.  
  16622.  
  16623.  
  16624.  
  16625.  
  16626.  
  16627.  
  16628. Version 4.0                                                        271
  16629.  
  16630.  
  16631. $  204                                          8_BIT  249
  16632. $$  204                                          
  16633. $ATTR  205                                          @DIAL  122
  16634. $BOARD  102, 206                                          @EDIT  123, 195
  16635. $COM  102, 208                                          @EDITOR  041, 150
  16636. $DATE  054, 204                                          @FSE  041, 150
  16637. $DLPATH  205                                          @SCRIPT  124
  16638. $FAIL  225, 235                                          @SHELL  122
  16639. $LAST_COL  205                                          @SHELLX  122
  16640. $LAST_ROW  205                                          @STAMP  125
  16641. $NOTEFILE  208                                          
  16642. $NUMBER  102, 206                                          Abandon  056
  16643. $OFFLINE  234                                          Abort Dial Command  024
  16644. $ONLINE  234                                          Alt-  001
  16645. $PASSWORD  102, 125, 206                                          Alt-0  047, 125, 175, 249
  16646. $PROTOCOL  102, 207                                          Alt-1  047, 172, 249
  16647. $SCPATH  205                                          Alt-2  117, 173, 214, 225
  16648. $SCRIPT  102, 207                                          Alt-4  117, 173, 214, 225
  16649. $SPEED  102, 207                                          Alt-5  178
  16650. $SUCCESS  225, 235                                          Alt-8  173, 249
  16651. $TIME  204                                          Alt-9  174
  16652. $ULPATH  205                                          Alt-A  082
  16653. +++  024, 118                                          Alt-B  045, 051, 084, 249
  16654. .. (ellipsis)  1                                          Alt-C  016, 085, 216
  16655. .CAP  040                                          Alt-D  015, 055, 056, 085, 125, 176,
  16656. .DMP  040                                          195, 220, 236
  16657. .FON  146                                          Alt-D/L  236
  16658. .KEY  059, 120, 237                                          Alt-D/T  122
  16659. .LOG  041                                          Alt-E  078, 249
  16660. .PRE  061                                          Alt-F  115, 195
  16661.                                           Alt-G  048, 116, 233
  16662. /AUTOZ  062                                          Alt-H  118, 176, 234
  16663. /F  062                                          Alt-I  119
  16664. /HOST  062                                          Alt-J  177, 195, 227
  16665. /NOINT16  062                                          Alt-K  127, 176, 241
  16666. /NVR  063                                          Alt-L  177, 215, 224
  16667. /S=  195                                          Alt-M  045, 249
  16668. /S=SCRIPT.SCR  063                                          Alt-N  058, 092, 129
  16669. /VEGAVGA=[mode]  063                                          Alt-N/A  056
  16670. /XT  063                                          Alt-N/C  013, 057
  16671.                                           Alt-N/C/C  014
  16672. 16450  048                                          Alt-N/C/C/A  014
  16673. 16550  048, 062                                          Alt-N/C/C/B  014
  16674. 16550A  048, 062                                          Alt-N/C/C/C  015
  16675. 8-bit  174                                          Alt-N/C/C/D  015
  16676. 80286  063                                          Alt-N/C/C/E  015
  16677. 80386  063                                          Alt-N/C/C/F  015
  16678. 8086/88  063                                          Alt-N/C/C/G  015
  16679. 80x25  173, 205, 260                                          Alt-N/C/C/H  015
  16680. 80x43  173                                          Alt-N/C/C/I  015
  16681. 80x50  173                                          Alt-N/C/C/J  015
  16682. 8250  048                                          Alt-N/C/C/K  016
  16683.  
  16684.  
  16685. Alt-N/C/C/L  016                                          Alt-N/M/M/I  022
  16686. Alt-N/C/C/M  016                                          Alt-N/M/M/P  022, 092, 093
  16687. Alt-N/C/C/N  016                                          Alt-N/M/M/R  025, 057, 101
  16688. Alt-N/C/C/O  016                                          Alt-N/M/M/S  023
  16689. Alt-N/C/C/P  016                                          Alt-N/M/P  019, 021, 025, 241
  16690. Alt-N/C/C/Q  016                                          Alt-N/M/P/x  026
  16691. Alt-N/C/C/R  016                                          Alt-N/M/S  192
  16692. Alt-N/D  026, 057                                          Alt-N/O  042
  16693. Alt-N/D/D  027, 034, 205, 223                                          Alt-N/O/C  043, 054, 105
  16694. Alt-N/D/S  027, 063, 116, 205                                          Alt-N/O/C/A  055
  16695. Alt-N/D/U  205                                          Alt-N/O/C/B  055
  16696. Alt-N/E  056                                          Alt-N/O/C/D  054
  16697. Alt-N/E/S  058                                          Alt-N/O/C/N  056
  16698. Alt-N/F  040, 057                                          Alt-N/O/C/P  055
  16699. Alt-N/F/B  041                                          Alt-N/O/C/S  055
  16700. Alt-N/F/C  040                                          Alt-N/O/C/T  055
  16701. Alt-N/F/L  041, 047                                          Alt-N/O/D  043, 053
  16702. Alt-N/F/O  040                                          Alt-N/O/D/F  053
  16703. Alt-N/F/S  040                                          Alt-N/O/D/S  053
  16704. Alt-N/F/U  027                                          Alt-N/O/E  043
  16705. Alt-N/F/V  041, 103                                          Alt-N/O/M  043, 049
  16706. Alt-N/H  028, 179                                          Alt-N/O/M/D  050
  16707. Alt-N/H/A  030                                          Alt-N/O/M/E  049, 085, 104
  16708. Alt-N/H/B  031                                          Alt-N/O/M/L  049
  16709. Alt-N/H/I  030                                          Alt-N/O/M/O  050
  16710. Alt-N/H/K  030                                          Alt-N/O/M/S  049, 168, 259
  16711. Alt-N/H/M  029                                          Alt-N/O/S  043, 051
  16712. Alt-N/H/O  029                                          Alt-N/O/S/C  051, 052
  16713. Alt-N/H/R  030                                          Alt-N/O/S/C/1  052
  16714. Alt-N/H/S  030                                          Alt-N/O/S/C/2  052
  16715. Alt-N/H/T  028                                          Alt-N/O/S/C/3  052
  16716. Alt-N/H/U  029                                          Alt-N/O/S/D  051
  16717. Alt-N/M  018                                          Alt-N/O/S/U  051
  16718. Alt-N/M/C  018, 019, 108                                          Alt-N/O/T  043, 044, 172, 208
  16719. Alt-N/M/C/A  019                                          Alt-N/O/T/A  045
  16720. Alt-N/M/C/B  020                                          Alt-N/O/T/B  045, 051
  16721. Alt-N/M/C/C  020                                          Alt-N/O/T/C  046, 184
  16722. Alt-N/M/C/D  020                                          Alt-N/O/T/D  047
  16723. Alt-N/M/C/E  020                                          Alt-N/O/T/F  048
  16724. Alt-N/M/C/F  020                                          Alt-N/O/T/G  047
  16725. Alt-N/M/C/G  020                                          Alt-N/O/T/K  048
  16726. Alt-N/M/C/H  020, 100, 101, 102                                          Alt-N/O/T/L  045
  16727. Alt-N/M/C/I  021, 181                                          Alt-N/O/T/P  045
  16728. Alt-N/M/C/J  021                                          Alt-N/O/T/R  046
  16729. Alt-N/M/M  018, 022, 057, 100, 101                                          Alt-N/O/T/S  047
  16730. Alt-N/M/M/1  023                                          Alt-N/O/T/T  046, 047, 199
  16731. Alt-N/M/M/2  023                                          Alt-N/O/T/U  041, 047
  16732. Alt-N/M/M/3  023                                          Alt-N/O/T/V  045
  16733. Alt-N/M/M/4  023                                          Alt-N/O/T/W  046
  16734. Alt-N/M/M/A  024                                          Alt-N/O/T/X  044
  16735. Alt-N/M/M/C  023, 101                                          Alt-N/P  031, 033, 161
  16736. Alt-N/M/M/H  024, 118                                          Alt-N/P/A  034, 159
  16737.  
  16738.  
  16739. Alt-N/P/A/R  035                                          AUTOEXEC.BAT  004, 006, 062
  16740. Alt-N/P/A/R/C  035                                          
  16741. Alt-N/P/A/R/L  036                                          Backscroll  041
  16742. Alt-N/P/A/R/U  035                                          BACKSPACE  047, 172
  16743. Alt-N/P/A/T  037                                          Baud Rate  019, 077
  16744. Alt-N/P/A/T/B  038                                          BBS  020, 039, 104, 115, 135, 157,
  16745. Alt-N/P/A/T/C  037                                          174, 191, 206, 207
  16746. Alt-N/P/A/T/E  039                                          BEEP  213
  16747. Alt-N/P/A/T/L  038                                          Beeps & Bells  045, 055, 078
  16748. Alt-N/P/A/T/P  038                                          BIOS  190
  16749. Alt-N/P/A/T/U  037                                          BIOS Video  045
  16750. Alt-N/P/x  032                                          BOX  192, 212, 214, 216, 233, 254,
  16751. Alt-N/P/x/D  032                                          260
  16752. Alt-N/P/x/F  033                                          BREAK  023, 024, 118, 119, 171, 214
  16753. Alt-N/P/x/P  032                                          Browse  149
  16754. Alt-N/P/x/S  032                                          BS  172
  16755. Alt-N/P/x/U  032                                          BS_DEL  249
  16756. Alt-N/S  056                                          Bulletin Board  ii
  16757. Alt-O  130, 177, 215                                          BUSY  018, 020, 023
  16758. Alt-P  045, 077, 127, 131, 245                                          Busy Command  031
  16759. Alt-Q  002, 093, 132, 194                                          
  16760. Alt-R  145, 177, 190, 222                                          Call-waiting  023
  16761. Alt-S  116, 147, 249                                          CALLBACK  028, 029, 178, 179
  16762. Alt-T  148                                          Capture  040, 153, 170, 215, 238, 249
  16763. Alt-U  148, 249                                          Capture Buffer  078
  16764. Alt-V  041, 149, 195                                          Caret  200
  16765. Alt-W  151                                          Carriage Return  039, 078, 171
  16766. Alt-X  129, 152, 177, 247                                          Carrier detect  234
  16767. Alt-X/X  050                                          CASE  249
  16768. Alt-Y  153, 177                                          CGA  047
  16769. Alt-Z  044, 154, 249                                          Change Subdirectory  131
  16770. Alt-[character]  01                                          Characters  043, 054
  16771. ANSI  016, 043, 077, 085, 116, 129,                                          CHAT  178, 187
  16772. 180, 233                                          CHDIR  130, 215, 224, 235
  16773. ANSI emulation  180                                          Checksum  159
  16774. ANSI Music  045, 055, 078                                          CLOSED  028
  16775. ANSI.SYS  190                                          CLOSED system  028
  16776. ASCII  031, 034, 036, 037, 044, 082,                                          CLOSEFILE  208, 216, 239, 243, 256,
  16777. 083, 084, 158, 180, 249                                          258
  16778. ASCII downloads  165                                          CLRSCR  216, 230, 254
  16779. ASCII escape character  129                                          Color  205, 212, 217, 218, 221
  16780. ASSIGN  203, 204, 213, 219, 259                                          Color Graphics  v
  16781. ATA^M  030                                          COLORBG  217, 218
  16782. ATDP  022                                          COLORFG  218
  16783. ATDT  022                                          Colors  013
  16784. ATH  118                                          COMMAND.COM  005, 145
  16785. ATH0  024                                          Communication Parameters  018
  16786. ATWRITE  192, 212, 217, 218, 221, 222                                          Communication ports  127
  16787. AUto Start Log  047                                          CompuServe  115, 159, 173
  16788. Auto-logon script  085                                          Computers  v
  16789. Auto-Zmodem  062                                          COMSPEC=  145
  16790. Autoexec Script  063                                          CONFIG.SYS  04
  16791.  
  16792.  
  16793. CONNECT  018, 023, 046                                          DOS prompt  058
  16794. Connect Message  023                                          DOS Shell  153
  16795. Connect Speed  024                                          Double-spaced  171
  16796. Connect Tones  051                                          DoubleDOS  045
  16797. CONNECT/2400  023                                          Dow Jones News/Retrieval  115
  16798. CONTROL  200                                          DOWNLD  223, 224, 235
  16799. Copyright  ii                                          Download  027, 059, 205, 207, 223,
  16800. CPS  163                                          224, 235, 250, 257
  16801. CPU  063                                          Download BAT  032
  16802. CR  171                                          Download Buffer  050
  16803. CRT  015                                          Download Dir  029
  16804. Ctrl-Backspace  047                                          Download Protocols  165
  16805. CTRL-END  171, 215                                          Download tone  051
  16806. Ctrl-H  172                                          DRIVE  216, 224, 235, 257
  16807. Ctrl-Home  040, 169, 215                                          DSZ  034, 156
  16808. Ctrl-PgDn  224                                          DSZ.COM  033, 034
  16809. Ctrl-PrtSc  174                                          DSZ.DOC  033
  16810. Ctrl-[character]  01                                          DTR  024, 118, 119, 153, 241
  16811. CTS  046, 156, 160, 161, 184                                          Dual Async Adapter/A  v
  16812. CTS/RTS Signal  046                                          Duplex  078, 085, 114
  16813. Custom Colors  014                                          
  16814. Cycle Delay  020                                          ECHO  249
  16815.                                           Editor marked text  016
  16816. Data bits  020, 021, 077                                          Editor Memory  049
  16817. Data Terminal Ready  024                                          Editor primary text  016
  16818. Date Separation  054                                          Editor window border  016
  16819. DEBUG  198, 219, 261                                          EGA  v, 015, 016, 047, 086, 146, 173,
  16820. DECR  219, 235, 259                                          192, 214, 225, 257
  16821. Default Baud Rate  19                                          Elapsed-Time  079
  16822. Default Data Bits  020                                          EMS  02
  16823. DEFAULT directories  027                                          Emulation  043
  16824. Default Parity  020                                          Environment variable  06
  16825. Default Stop Bits  020                                          EOL  039
  16826. Definitions  01                                          ERROR  018
  16827. DEL  047, 172                                          Error Messages  257
  16828. Del/^H Backspace  047                                          Error-correcting  019
  16829. DELAY  219, 240, 252                                          Error-correcting modem  046, 156, 161
  16830. Delays  043, 053                                          Error-correction  160
  16831. Delphi  115                                          ESC  01
  16832. DESQview  003, 045, 047                                          EXIST  202, 225
  16833. DIAL  220, 221, 236                                          Exit  056, 226, 232, 243, 247
  16834. Dialing Directory  085                                          EXPNUM  209
  16835. Dialing queue  020                                          External editor  104
  16836. DIR  151                                          External protocols  032, 156, 161
  16837. DISPLAY  192, 221, 222, 238, 254,                                          
  16838. 255, 262                                          F1 Help  07
  16839. DISPLAYLN  192, 221, 222, 238, 254,                                          F11  062
  16840. 255                                          F12  062
  16841. DNLD  250                                          FAW  027
  16842. Dollar sign  204                                          FDX  078
  16843. DOS  222, 224                                          Fido  115
  16844. DOS Password  029                                          FIFO  062
  16845.  
  16846.  
  16847. FIFO during Shell  048                                          Implied tagging  087, 088
  16848. File Allocation Window  027                                          INCR  219, 235, 259
  16849. File Delete  153                                          Information text  016
  16850. File Transfers  053                                          Init Command  030
  16851. Filename Prompt  033                                          Initial video mode  063
  16852. Find Text  106                                          Initialization Command  022
  16853. FKey  120, 226, 237                                          INKEY  192, 227, 228, 229, 230, 231,
  16854. Flow control  078, 154                                          236
  16855. FLUSH  227, 258                                          INTEGER  192
  16856. FON  058                                          Internal Editor  039, 041, 103, 104
  16857. Forbin Project  206                                          Internal timeout  021
  16858. Full Duplex  078, 114                                          Interrupt  062
  16859.                                           Invoice  119
  16860. Gateway  149                                          IRQ  021, 026
  16861. GEnie  ii, 115, 171                                          
  16862. GET  192, 203, 227, 228, 229, 230,                                          Key Definition Files  120
  16863. 231, 236                                          Keyboard  062
  16864. GETN  192, 203, 227, 228, 230, 231,                                          Keypad emulation  048
  16865. 236                                          KEYWORD  210, 259
  16866. GETNR  192, 203, 227, 228, 229, 230,                                          
  16867. 231, 236                                          LABEL  210, 259, 262
  16868. GETR  192, 203, 227, 228, 229, 231,                                          Labels  202
  16869. 236                                          LAP-B  160
  16870. GETSCR  214, 230, 243, 254, 258                                          Laptop  013
  16871. GETX  192, 203, 227, 228, 229, 230,                                          LCD  013
  16872. 231                                          LF  171
  16873. GOSUB  202, 210, 232, 244, 261                                          Linefeed  078, 171, 249
  16874. GOTO  202, 210, 232                                          LineFeed character  039
  16875. GOTOXY  221, 233, 260                                          Linked Script Edit Screen  106
  16876. GRAPHICS  233, 259                                          Linked Scripts  105, 193
  16877. Growing Windows  047                                          LIST  149
  16878.                                           LOADFON  236, 258, 260
  16879. Half Duplex  078, 114                                          Loading a new Phone Book  108
  16880. Hangup  118, 233, 235                                          LOADKEY  226, 237, 258, 260
  16881. Hangup Command  024                                          Log  041, 047, 079, 153, 175, 237,
  16882. Hardware-handshaking  046, 156                                          246, 249, 260
  16883. HDX  078                                          Logged Drive  131
  16884. Help Key  07                                          LOGOFF.HST  180
  16885. Hercules  v                                          Logon Scripts  105
  16886. High Bit  084                                          
  16887. High-speed  019, 046                                          Macro  120, 194
  16888. High-speed modems  021                                          Mainframe  020, 173
  16889. Home  077                                          Margins  085
  16890. Home Menu  081                                          MasterCard  ii
  16891. Host  062                                          Maximum Time  029
  16892. Host Menu files  180                                          MCI  090
  16893. Host Mode  002, 178                                          MCI-Mail  115
  16894. Host Password (.PWD) file  028                                          MDA  047
  16895. Host Setup  179                                          Memory  043, 049
  16896.                                           MENU.HST  180
  16897. IBM compatible  v                                          Minicomputer  020, 173
  16898. IF  202, 210, 234, 259                                          MNP  046, 092, 156, 160, 163
  16899.  
  16900.  
  16901. Modem cables  161                                          Port Addresses  019
  16902. Modem Command delay  021                                          Prefix Dial Command  022
  16903. Modem Commands  018                                          Prefixes  086
  16904. Modems  v                                          PRELOG.HST  180
  16905. Monochrome  v, 015                                          PRINT  249
  16906. Multi-tasking  003, 045                                          Printer  174
  16907. Music  078, 129, 249                                          Printer Toggle  079
  16908. Music information  129                                          Printing the Phone Book  111
  16909. Music Toggle  078                                          PRN  111
  16910.                                           Protocol  032
  16911. Network  046                                          Protocol Definition window  032
  16912. NO CARRIER  018, 023                                          Protocol Selection Window  032
  16913. NO CONNECT  023                                          Protocols  223
  16914. NO DIAL TONE  023                                          PROTS.HST  180
  16915. No Video Restore  063                                          PS/2  v, 026
  16916. Nochange  115                                          Public Board eXchange  024
  16917. Noise  084, 249                                          Public Domain  i
  16918. NOTE  192, 221, 238, 246                                          Pulldown edit field  015
  16919. Note Files  085, 090, 105                                          Pulldown first letter  014
  16920. Notes Tag  056                                          Pulldown normal text  014
  16921. NUMERIC codes  024                                          Pulldown selection bar  015
  16922. NumLock  048                                          Pulldown window border  015
  16923. NUMVAR  210                                          Pulse-dialing  022
  16924.                                           PUSH  240, 242, 262
  16925. OFFLINE  021, 077                                          PUTSCR  214, 230, 242, 254, 258
  16926. OK  018, 021, 030                                          
  16927. OK Message  030                                          QFE  146
  16928. Omen Technology  031, 156                                          QINSTALL  02, 129
  16929. On-hook  024                                          QM.BAT  05
  16930. Online  077, 249                                          QMHOST.BAT  190
  16931. Online Help  040                                          QMHOST.EXE  190
  16932. Online Help border  016                                          QMHOST.HDR  180, 186
  16933. Online Help text  016                                          QMHOST.MSG  180, 186
  16934. OPEN  028                                          QMHOST.PWD  179
  16935. OPEN system  028                                          QMHOST.SCR  187
  16936. OPENFILE  208, 216, 238, 243, 256,                                          QMHOSTL.SCR  187, 189
  16937. 257, 258, 259                                          QMHOSTPK.EXE  180, 186
  16938. Other Info  110                                          QMODEM.CNF  05, 056, 058
  16939. Overlay Buffer  050                                          QMODEM.EXE  i, 05, 058
  16940.                                           QMODEM.FON  05
  16941. Pacing Speed  038                                          QMODEM.HLP  05, 040
  16942. Parity  020, 021, 077                                          QMODEM.INI  153
  16943. PATH=  006, 034                                          QMODEM.KEY  05
  16944. PAUSE  220, 239, 252                                          QMODEM.LOG  041
  16945. PBX  024, 090, 119                                          QMODEM.OVR  05
  16946. PCBoard  039, 115, 131, 156, 206, 207                                          QMODEM.PRE  05
  16947. PCjr mode  045                                          QuickLearn  002, 088, 093, 132, 191,
  16948. PgDn  177, 223                                          194
  16949. PgUp  177                                          
  16950. Phone Book Tag  055                                          RAM disk  050
  16951. POP  240, 242                                          RBBS-PC  115
  16952. PORT  241, 261
  16953.  
  16954.  
  16955. READFILE  208, 216, 239, 243, 256,                                          Sorting the Phone Book  113
  16956. 257, 258                                          Sounds  043, 078
  16957. Receive Zmodem  033                                          Source  173
  16958. Redial Hangup Text  025                                          Speaker  084
  16959. Redial Sets Baud Rate  046                                          Speed  021
  16960. Registration  ii                                          SPLIT  249
  16961. Relaxed Xmodem  159                                          Split-Screen  116, 147
  16962. RETURN  226, 232, 243, 244, 247, 261                                          SPRINT  090
  16963. RING  025, 030                                          STAMP  178, 238, 246
  16964. Ring Detect  030                                          Status Line  016, 047, 077, 081, 174
  16965. ROM BIOS  045                                          Status Line Filler  055
  16966. RTS  046, 160, 161                                          Status Windows  053
  16967. RZ.BAT  033                                          Stop bits  020, 021, 077
  16968.                                           STRING  192, 210, 213, 219, 247, 260
  16969. Save Changes  056                                          Strip/Replace  082
  16970. Screen border  015                                          Subdirectories  130
  16971. Screen colors  085                                          Subscription  ii
  16972. Screen Dump  040                                          SUBST  224
  16973. Screen memory  045                                          Suffix Dial Command  023
  16974. Screen text  016                                          SuperEGA  173
  16975. SCRFIX.EXE  059                                          SuperVGA  173
  16976. Script  085, 178, 187, 209, 243, 244,                                          Sysops  i
  16977. 261                                          SYSTEM  247, 262
  16978. Script files  027, 059                                          System Clock  079
  16979. Script parameters  124                                          SZ.BAT  033
  16980. Script Recorder  093, 132                                          
  16981. Script Variables  049                                          Tag Multiple  095
  16982. Scripts  027, 115, 178, 193                                          Tagged entries  086
  16983. SCROLL  249                                          TaskView/OmniView  03
  16984. Scroll-back  049, 148, 167                                          Technical support  119
  16985. Scroll-back buffer  079                                          Telephone support  ii
  16986. Scroll-back Toggle  079                                          Terminal emulation  077, 116
  16987. Scrolling Region  085                                          Text Search  104
  16988. Select Character  032                                          Time  055
  16989. SEND  059, 192, 207, 245, 254, 255,                                          Time Separation  055
  16990. 262                                          Time-of-day  079
  16991. Send Zmodem  033                                          TIMEOUT  248, 252, 253
  16992. Sending a file  161                                          Timeout Delay  020
  16993. Serial Port  v, 021                                          Toggles  043, 078
  16994. Serial port speed  046                                          Tone-dial  022
  16995. Session Log  079, 175                                          TopView  03
  16996. SET  06                                          Translation  035, 082
  16997. SETCOMM  245, 261                                          Trial Disk  ii
  16998. SETUP  129                                          TSR  050, 122
  16999. Shell to DOS  145, 190                                          TTY  043, 116, 233
  17000. ShftTab  249                                          TURNOFF  215, 238, 248, 262
  17001. Shift state  120                                          TURNON  228, 248, 263
  17002. Shift-Tab  045, 171                                          
  17003. Shutdown Password  030                                          UART  048, 062, 119
  17004. SideKick  146                                          Un-tagging  088
  17005. Site License  iv                                          Undo Changes  113
  17006. Snow Checking  047                                          Untag All  098
  17007.  
  17008.  
  17009. Up Arrow  148, 167                                          Zmodem  031, 033, 062
  17010. UPGRADE.EXE  058, 105                                          
  17011. UPLD  223, 224, 235, 250, 251                                          [ENTER]  01
  17012. qUpload  027, 059, 205, 223, 224,                                          [ESC]  001, 07
  17013. 235, 249, 260, 263                                          [Home]  080
  17014. Upload BAT  032                                          
  17015. Upload Dir  029                                          ^  01
  17016. Upload Protocols  155                                          ^End  178
  17017. Upload tone  051                                          ^H  047, 172
  17018. Uploading a file  161                                          ^Home  249
  17019. USR Courier HST  019                                          ^M  023, 024, 057, 118, 147
  17020.                                           ^PrtSc  249
  17021. Variables  203                                          ^Q  044
  17022. VEGA VGA  063                                          ^S  044
  17023. VERBAL messages  024                                          ^^  200, 201
  17024. VGA  v, 015, 016, 047, 086, 146, 173,                                          ^~  200
  17025. 192, 214, 225                                          ^~^~^~  118
  17026. Video Cards  v                                          ^~^~^~+++^~^~^~ATH  118
  17027. Video-7  063, 173                                          
  17028. View  041                                          _OFFLINE_  228, 231
  17029. VISA  ii                                          
  17030. VT100  016, 043, 085, 116, 172, 233                                          {  057
  17031.  
  17032. WAITFOR  132, 210, 248, 251, 253
  17033. WAITUNTIL  252
  17034. Warranty  vi
  17035. WHEN  059, 192, 202, 210, 253, 262
  17036. WINDOW  192, 212, 214, 216, 233, 254,
  17037. 260
  17038. Window border  015
  17039. Window primary text  015
  17040. Window Scroll Bar  015
  17041. Window secondary text  015
  17042. Windows/386  003, 045
  17043. WORD  210
  17044. WordStar  149, 194
  17045. WRITE  192, 254, 255, 262
  17046. WRITEFILE  216, 239, 243, 256, 257,
  17047. 258
  17048. WRITELN  192, 254, 255
  17049.  
  17050. X.PC  160
  17051. XMODEM  159
  17052. Xmodem-1K  159
  17053. Xmodem-1K/G  156, 161
  17054. Xmodem-CRC  159
  17055. Xon/Xoff  044, 078, 154, 249
  17056.  
  17057. Ymodem  159
  17058. YMODEM batch  159
  17059. Ymodem-G  02, 156, 161
  17060.